try adding transports entry to service as given below. <service name="UserAdmin" scope="transportsession"> <transports> <transport>https</transport> </transports> <parameter name="ServiceClass" locked="false"> org.wso2.carbon.user.mgt.UserAdmin </parameter>
thanks, Amila. On Fri, Feb 26, 2010 at 8:38 PM, chu_man_fu <c...@bytron.com> wrote: > > 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 > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/