I have written a unmanaged Web services JAX-WS client as mentioned in IBM mannual.
I have a wsdl which supports only SOAP 1.2 version, but when I am running my program, it generates the SOAP 1.1 request and not SOAP 1.2. Because of this my call to the service is failing.
Could you please tell me how can I force the client to create SOAP 1.2 request?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><soapenv:Body><tokenize
Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Pinned topic Unmanaged Web services JAX-WS client generating SOAP 1.1 requests
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-09T19:43:41Z at 2012-10-09T19:43:41Z by DF7K_AKASH_SALUJA
DF7K_AKASH_SALUJA 270002DF7K2 Posts
Re: Unmanaged Web services JAX-WS client generating SOAP 1.1 requests2012-10-09T19:43:41ZThis is the accepted answer. This is the accepted answer.Also just to make it more clear, I also tried to access the web service using JAX-WS client from an application running on WAS7.
At that time it generates the correct SOAP 1.2 format request.
Problem still exists from the stand alone java program, which is still generating SOAP 1.1 requests.