Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] [WS] Use of port 80 in SOAP endpoint

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] [WS] Use of port 80 in SOAP endpoint


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Yoann Delattre <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] [WS] Use of port 80 in SOAP endpoint
  • Date: Wed, 29 Nov 2017 15:22:23 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:UMwjvxIGXri10KH3JdmcpTZWNBhigK39O0sv0rFitYgfI//xwZ3uMQTl6Ol3ixeRBMOAuqIC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJBUMhPSiJBHo2yYYgBD+UDPOZXs4byqkAUoheiGQWhHv/jxiNKi3LwwKY00/4hEQbD3AE4Ed4AsnTVrdTrO6cISey+0bfFzTXZb/NXwjfx5pXDfxckof6QXbJxccvQxlc1Fw7ej1WQspDqMymI1uQVrWeb6exgWfixhGE6tgF8uz6izdoihInOg4Ia0FHE9SNhzYYtJd24UFR3Ydi6H5tMry2bOIR3Q8wtQm1ytiY60KUKtoC9fCgFyZQo2QfTZOGGc4iS/B3sSPqRLS1ki3JifbKygQu5/0u4yuDkSMW7ykpGojdAn9XRq3wByhne6saIR/dh4kus3DSC2B7c5+xLJE05kLTXJ4Iuz7Ioi5Yev1jPEjXylUnrlqOaaFgo9+yy5+j6YLjrp5mRPJJuhA7kKKQhgMm/DPw4MgcQW2ib/vyx2qX/8EP+XLlGkOQ6nLTBvpzHPMgbobW2DBFP3oYk9ha/Eyyp0NMFnXkBMV1JYgqHj5LuO1HSPv/3Eeu/g1WrkDdt3fzGOaDhAonJLnjEl7fhfqxx5FJbyAo21dxf5pRUBa8dIP/rREP+rsDUAgI8PgCp3urrFdBw1o0RVG6THqOUNaHfvkGH6+8gJuSBYZEZtCryJvQ94v7hl345mVsTfamz2psXbWi1HvF6LEWZYXvtg8kOEX0Rswo/V+zllEeOUSNLZ3msWaI84Cs3B5y7AofeXoytmqCO3D+nHp1KYWBLEl+MEW3vd4WZQ/cDdjiSLtZ8kjwfS7ehUZQh2AqqtA/70LpnMvHU9jMCuZLi0th1+/PclQs09TNqE8SRzXuBQH9pkWMVFHcK2/VOpkV7zB+v3Kxxn+BCGJQH9vRAVAF8OZPYxvBmEd3aUwmEetaNTFvgTM/wUh8rSddkif8fcUtnX52JjgrCxGDiV7oel62ZCYYc87nXmWXpKsB7jXvKyf9y3BEdXsJTODj+1eZE/A/JCtuMyh3Bmg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

If you want to send a pull request in git, or a patch in email, or just more explicitly tell me what to change, I will discuss it with the team (and anyone let me know if it seems like a bad idea).

 

Are you sure you don’t want to turn on SSL on 443 though, wont that fix it?  J

 

Thanks

Chris

 

From: Yoann Delattre [mailto:]
Sent: Wednesday, November 29, 2017 9:51 AM
To: Hyzer, Chris <>
Cc:
Subject: Re: [grouper-users] [WS] Use of port 80 in SOAP endpoint

 

It's not the default behaviour for PHP SOAP extension.
Our developpers will need to customize the common library to add an option (http://php.net/manual/en/soapclient.setlocation.php) for overloading the endpoint URL only for Grouper :-/

I don't known if it's a good idea but apparently, if you set only one protocol (HTTP or HTTPS), AxisServlet auto-detect the port number (see here).
I just tested and it works.

Thanks,
Yoann

Le 29/11/2017 à 15:18, Hyzer, Chris a écrit :

I can call the soap service from any port on my machine… cant you specify that in php without using whats in the wsdl?

 

It was an arbitrary decision since 80 is the default http port and I could call it on any port…

 

Thanks

Chris

 

From: [] On Behalf Of Yoann Delattre
Sent: Wednesday, November 29, 2017 8:46 AM
To:
Subject: [grouper-users] [WS] Use of port 80 in SOAP endpoint

 

Hi,

The port 80 is used in the SOAP Endpoint from Grouper's WSDL:

<wsdl:port name="GrouperService_v2_0HttpSoap11Endpoint" binding="tns:GrouperService_v2_0Soap11Binding">
    <soap:address location="http:/xxxx.fr/grouper-ws/services/GrouperService_v2_0.GrouperService_v2_0HttpSoap11Endpoint/"/>
</wsdl:port>

But with this port, in PHP, i get this error :

Uncaught SoapFault exception: [HTTP] Not Found

If i want to get it works, i need to modify axis2.xml, specifically those lines :

<!-- CH 20120812: Do not use the HTTP server receiver or it will listen on that port -->
<transportReceiver name="http" class="org.apache.axis2.transport.http.AxisServletListener">
    <parameter name="port">80</parameter>
</transportReceiver>

and switch the port from 80 to 8080.

But i wonder why it's not 8080 by default as tomcat default listening port is 8080 ?

Thanks for your help,

Yoann

 

 




Archive powered by MHonArc 2.6.19.

Top of Page