Hi All,
we are facing an issue with CDATA in soap request.
In webMethods we have created the consumer webservice descriptor and calling the Target system webservice.
During the testing we have identified special chars like %,& coming along with other characters which is resulting in soap fault.
EG : tns:factory_nameBLACK & DECKER (SUZHOU) POWER TOOLS CO., LTD.</tns:factory_name>
In order to resolve this one we have implmented the CDATA for those fileds to ignore the entire field value.
tns:factory_name<!><CDATA[BLACK & DECKER (SUZHOU) POWER TOOLS CO., LTD.]]></tns:factory_name>
But Target system is telling that they are receving the data with CDATA which should not be happening.
Target System should only recieve the string value not with the CDATA tag.
tns:factory_nameBLACK & DECKER (SUZHOU) POWER TOOLS CO., LTD.</tns:factory_name>
After enabling the logging for Soap in IS i could see the below encoding for < and >.
< is encoding to < and > is encoding to >
tns:factory_name<!<CDATA[BLACK & DECKER (SUZHOU) POWER TOOLS CO., LTD.]]>></tns:factory_name>
This causing the issue now.
IS version is 9.5
Is there any we can instruct the soapclient service to not to encode those symbols?
Thanks,
Hanu
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services