I have enabled my webservice endpoints over both HTTP and SSL. I can access the wsdls over both HTTP and HTTPS, but both wsdls point to the HTTP server and port in the wsdl served up. I know the unsecured access point works but I'd like to verify that the SSL connection works as well if both HTTP and HTTPS are enabled.
I'm generating clients using the wsdlLocation to point to the https endpoint.
Is there any way to force and verify my SSL jbossws clients to use the SSL connection only? Anyone ever tried this? Preliminary tests with jaxws clients seem to always use the HTTP endpoint only...
Thanks in advance for any suggestions/tips/replies.
take a look at http://www.jboss.org/community/wiki/JBossWS-UserGuide#Address_rewrite.
Besides that, you can force the endpoint address to use in the client, casting the port to BindingProvider and then setting it there.