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: Thu, 30 Nov 2017 14:00:50 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:vEm65hzxYYRABmLXCy+O+j09IxM/srCxBDY+r6Qd2uMVIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoITmvVQCsQeyCBOwCO/zyDJFgGL9060g0+QmFAHLxAIsEdAOsXXVstr1Lr8eWv2rwanI1zXDbuhW1Tng44XPdxAuvfGMXLJxcMXP00kiDALFjk6MpoD/IjOVzvoCs26d7+Z6S+2glnMnphh3rzOyyMksjYzJiZgUylDC7Sh52IY1JcWiRE59f9GkDINcti6VNop5TcIuWW9ouDwixrIYv567cykKx4o+yxHCavyHaZaH7Q7/VOqLPTh4g3dldbSijBix6Uit0vPwWdOo3FpXqydJj8TAum0I2hzd5cWLVudx80Kj1DmR2A3c8ORJLEUqmabHKZMt2qM8m5QPvUjZGiL6hV/6gLGLekgg4OSk9ubqb7Tgq5SBLYF7kBv+Pb4rmsGnAeQ3LAwOX2+D9OqkyLDt+lH1TbtTgvArkKbVronWJcMAqaGnGQNV1Zsj6wqkADehzdQYm2QIIEhdeBKdiIjpJ0/BL+zkDfe+hFSsli1nx/fbPr39BpXNKX/DkLT7cblh7E5czRI/zdFZ551KFrEMOOz/VVXtuNDFCxI1LhG4z/viBdVz2Y4SRX6DD6qbPazMvlKH/OciLuySaIMJujvxM/0l6OTvjX89l18dZ66p3Z4PZXC9AvtmI0WYYHvyjdcbCmoKvxE+Q/DwhF2fST5ceXCyX6Qm6j4lFY2mEJ/PRpqxj7yZwCe7AppWa3hJClCWFnfoap2EVOkWaC6LP89hiSILVaK6S4I60RGutRT6y6Z8LubK4CEYtJTj1MRr6O3JkxE96yB0A9qH326TUm50gzBAezhj7ad2p0o15lqH2LRkmfEQQc1U7vVPFAs3MZfA0/Z3I9n5HwbAetOEDli8FIaIGzY0G5gR0s0DeQI1MNW4jwuJl36vCL8EhbGRLJ0v+eTBx3X3IYBwx2uQh/pptEUvXsYabT7uvaV47QWGQteRy0g=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

You could run apache on 443 and reverse proxy to tomcat J


Can you also instead do something like this in iptables?


iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080


Or maybe there could be a build param that changes the axis2.xml ports to whatever people need…





From: Yoann Delattre [mailto:]
Sent: Thursday, November 30, 2017 7:01 AM
To: Hyzer, Chris <>
Subject: Re: [grouper-users] [WS] Use of port 80 in SOAP endpoint


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

Hmmm it's more complicated.
I tried to run Tomcat on port 80 (but with the port 443, it will be the same) : Tomcat can't use port < 1024 unless tomcat is launch as root (or with authbind who allow access to network services as a privileged user).

I see two options :
- use 80/443 port in axis2.xml but i think a little documentation may be needed to use the SOAP web service with PHP (use __setlocation function or modify axis2.xml or configure tomcat to run on port 80/443 (even if it's complicated)).
- use the tomcat default ports (http : 8080 / https : 8443) in axis2.xml

I don't know what is the best option...

Thanks for your help !


Le 29/11/2017 à 16:22, Hyzer, Chris a écrit :

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





From: Yoann Delattre []
Sent: Wednesday, November 29, 2017 9:51 AM
To: Hyzer, Chris
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 ( 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.


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…





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



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:/"/>

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>

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,





Archive powered by MHonArc 2.6.19.

Top of Page