I need to create SOAP service which only allows HTTPS access. I am half way to achieving this by adding the Rampart module to my services.xml with a UsrnameTokenOverHTTPS policy. My problem now is that my WSDL still shows the http binding:
<wsdl:service name="TestService"> <wsdl:port name="TestServiceIHttpSoap11Endpoint" binding="ns:TestServiceSoap11Binding"> <soap:address location="http://127.0.0.1:8080/axis2/services/TestService.TestServiceHttpSoap11Endpoint/" /> </wsdl:port> <wsdl:port name="TestServiceHttpsSoap11Endpoint" binding="ns:TestServiceSoap11Binding"> <soap:address location="https://127.0.0.1:8443/axis2/axis2/services/TestService.TestServiceHttpsSoap11Endpoint/" /> </wsdl:port> </wsdl:service> I am testing the service with a C# (.net) client. When I create a new Web Reference to only ever picks out the HTTP port and never the HTTPS port. How can I remove the HTTPS port from the WSDL? I have tried removing "transportReceiver name="http"" from my axis2.xml file but this throws NullPointerErrors and axis2 fails to deploy. Can anyone help please. Thanks Chris -- View this message in context: http://old.nabble.com/HTTPS-only-WSDL-tp27719385p27719385.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org