2 Replies Latest reply on Jan 7, 2010 7:33 AM by Kevin Conner

    Issue with SOAPClient and SOAP 1.2

    Leon Doud Newbie

      The SOAPClient appears to be setting the wrong content type for SOAP 1.2. For SOAP 1.2 "Content-Type"content type should be set to "application/soap+xml" (http://www.w3.org/TR/soap12-part1/#reltoxml).


      I took a quick look at the SOAPClient.java file and found that in invokeEndpoint method the "Content-Type" parameter to "text/xml".


      My current work around is to to "hardcode" the endpoint using the "endpointUrl" property of SOAPClient (which I only found by looking in the code). Is anyone else experiencing this problem and/or have a work-around?