I have made a soap api with Java 6, Jax-ws and Spring. I annotate my soap interface with @WebService, and expose it using the following Spring configuration:
This all works very well, but now I want https support. And that's where the troubles start. When I change http to https in the baseAddress property, I get the following error:
<bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter" lazy-init="false">
<property name="baseAddress" value="http://localhost:9801/" />
java.lang.IllegalArgumentException: https protocol based address is not supported.
However, Java 6 is supposed to support https, isn't it? How to make this work?
With kind regards,