Hi All,
I am trying to remove the CDATA tag in the request data using the below code in scriptable data protocol. It was removed as expected from the request and displayed in the proper XML structure in the generic XML payload parser window which is the next protocol.
// Manipulate request body text
String strRequest = lisa_vse_request.getBodyText();
String sOutputData = null;
sOutputData = strRequest.replace("]]>","");
sOutputData = sOutputData.replace("<![CDATA[","");
lisa_vse_request.setBodyText(sOutputData.toString());
Once I finished creating the service, I am seeing only the below code in the model file. Does any one come across this issue, or having any other solution to remove the CDATA from the request.
// Manipulate request body text
String strRequest = lisa_vse_request.getBodyText();
String sOutputData = null;
sOutputData = strRequest.replace("