I\'m publishing a test WS implementation using Endpoint.publish()
for consumption in Visual Studio. According to the documentation the default SOAP binding is
Since the current answer is not valid and the links are broken
By Class Annotation
@BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
By Code configuration
JaxWsClientFactoryBean factory = new JaxWsClientFactoryBean();
...
factory.setBindingId(SOAPBinding.SOAP12HTTP_BINDING);
By xml configuration
...