You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sagi Mann <sa...@gmail.com> on 2008/09/25 17:50:41 UTC

Accessing WSDL via https still shows http addresses

Hello,
I'm trying to get am axis2-based web service to work via https.
I deployed axis2.war on GlassFish 2, and deployed a test service called
"hello". This works great via http. But when I try to set this up via https,
I see something strange:

if I access the service's WSDL via https, i.e.
https://host:8181/myapp/services/HelloService.wsdl
I still see an HTTP port address, e.g.


<wsdl:service name="HelloService">
  <wsdl:port name="HelloServiceHttpSoap11Endpoint"
binding="axis2:HelloServiceSoap11Binding">
    <soap:address
location="http://192.168.1.4:8080/web-embedded-fw/services/HelloService.HelloServiceHttpSoap11Endpoint/"
/> 
  </wsdl:port>
  <wsdl:port name="HelloServiceHttpSoap12Endpoint"
binding="axis2:HelloServiceSoap12Binding">
    <soap12:address
location="http://192.168.1.4:8080/web-embedded-fw/services/HelloService.HelloServiceHttpSoap12Endpoint/"
/> 
  </wsdl:port>
  <wsdl:port name="HelloServiceHttpEndpoint"
binding="axis2:HelloServiceHttpBinding">
    <http:address
location="http://192.168.1.4:8080/web-embedded-fw/services/HelloService.HelloServiceHttpEndpoint/"
/> 
  </wsdl:port>
</wsdl:service>


Just for comparision, if I use JAX-WS instead of axis2 to handle my web
service, I get the correct URL, depending on whether I access the WSDL file
via HTTP or HTTPS.

Bottom line: how do I make the WSDL show https://xxxx instead of http://xxxx
??
thanks.
-- 
View this message in context: http://www.nabble.com/Accessing-WSDL-via-https-still-shows-http-addresses-tp19672533p19672533.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Accessing WSDL via https still shows http addresses

Posted by Sagi Mann <sa...@gmail.com>.
Update: I wrote a standalone client to test the impact of this "issue". I
create the stub using an HTTPS WSDL URI, and using NetBeans 5.5.1 HTTP
monitor, it seems that the POST request sent to the webservice is indeed
over HTTPS, so I think that the fact that the WSDL contains HTTP URLs
instead of HTTPS ones can be ignored... It's probably a non-issue. I will
also verify using WireShark just in case...
-- 
View this message in context: http://www.nabble.com/Accessing-WSDL-via-https-still-shows-http-addresses-tp19672533p19674200.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org