Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2012-10-09T19:43:41Z by DF7K_AKASH_SALUJA
DF7K_AKASH_SALUJA
DF7K_AKASH_SALUJA
2 Posts
ACCEPTED ANSWER

Pinned topic Unmanaged Web services JAX-WS client generating SOAP 1.1 requests

‏2012-10-09T18:24:02Z |
Hi,
I have written a unmanaged Web services JAX-WS client as mentioned in IBM mannual.
http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Ftwbs_jaxwsthinclient.html
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
...
...
...
</tokenize></soapenv:Body></soapenv:Envelope>
Updated on 2012-10-09T19:43:41Z at 2012-10-09T19:43:41Z by DF7K_AKASH_SALUJA
  • DF7K_AKASH_SALUJA
    DF7K_AKASH_SALUJA
    2 Posts
    ACCEPTED ANSWER

    Re: Unmanaged Web services JAX-WS client generating SOAP 1.1 requests

    ‏2012-10-09T19:43:41Z  in response to DF7K_AKASH_SALUJA
    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.