I am trying to send special ( &, '(single quotes)) characters in a soap request. I am using axis 1.4. The webservice client is located on the weblogic server, and the webservice server is on the ibm mainframe (COBOL program).
The request data from the client contains a special character ( &), which is converted to&
I tried to enclose it with CDATA as
<![CDATA[Some Name & Some Data ]]>
which has been converted to
<![CDATA[Some Name & Some Data]]>
The webservice client is created from wsdl, so I could not use the CDATA api to create the request. I can set it as a string value and it is converted.
Any help on this would be greatly appreciated. Please let me know if you need more information about this.
source
share