Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change JAVAX-WS Endpoint binding to SOAP 1.2?

I'm publishing a test WS implementation using Endpoint.publish() for consumption in Visual Studio. According to the documentation the default SOAP binding is 1.1 and it is possible to change the bindings, but I can't figure out specifically how to change the binding to 1.2.

Any help is appreciated!

like image 314
jluce50 Avatar asked Apr 28 '11 16:04

jluce50


1 Answers

With JAX-WS 2.x you can either enable SOAP 1.2 via config file or via Java 5 annotation. See here (original, now broken link) for more details.

like image 153
vanto Avatar answered Oct 01 '22 20:10

vanto