On Sat, Feb 27, 2010 at 5:04 AM, Andreas Veithen <andreas.veit...@gmail.com>wrote:
> Chris, > > Releases up to Axis2 1.5.1 had indeed some problems with the > transportReceiver declarations in axis2.xml. This issue (AXIS2-4465) > should be fixed in the current trunk. [1] explains how HTTPS-only can > be configured properly with the current snapshots (and the upcoming > 1.6 release). Thus, switching to a snapshot version is one option for > you. > > There is another option that you can try. In the services.xml file it > is possible to specify the transports over which the service is > exposed. Restricting this to "https" should produce the desired WSDL. > > Andreas > > [1] > http://people.apache.org/~veithen/axis2/1_6/servlet-transport.html<http://people.apache.org/%7Eveithen/axis2/1_6/servlet-transport.html> > > On Fri, Feb 26, 2010 at 16:08, 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 > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > >