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

荒凉一梦 提交于 2019-12-29 06:46:11

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/5821762/how-to-change-javax-ws-endpoint-binding-to-soap-1-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!