Error when XML has escaped special characters in HTTP Post
Hi,
When sending an XML via HTTP Post to Siebel, if this XML has escaped special characters (like &) our WF Process fails in the BS 'EAI XML Converter', method XMLDocToIntObjHier.
(SBL-BPR-00162)--IDS_EAI_ERR_EAIXMLCNV_XML_TO_XMLHIER--IDS_XMLCNV_ERR_FTLPARSE Error invoking service 'EAI XML Converter', method 'XMLDocToIntObjHier' at step 'Convert to Siebel Msg'.(SBL-BPR-00162) -- The XML document cannot be converted to an XML hierarchy.(SBL-EAI-04110) -- Fatal Error in XML Parser at line 1, column 1094: The input ended before all started tags were ended. Last tag started was 'ExternalURL'(SBL-EAI-00247)
If we double escape the special characters (like &) there is not error. Also if we try reading the XML from a file, it also works fine. It seems that somehow the POST is removing the encoding and Siebel gets the XML with the naked &.
When sending an XML via HTTP Post to Siebel, if this XML has escaped special characters (like &) our WF Process fails in the BS 'EAI XML Converter', method XMLDocToIntObjHier.
(SBL-BPR-00162)--IDS_EAI_ERR_EAIXMLCNV_XML_TO_XMLHIER--IDS_XMLCNV_ERR_FTLPARSE Error invoking service 'EAI XML Converter', method 'XMLDocToIntObjHier' at step 'Convert to Siebel Msg'.(SBL-BPR-00162) -- The XML document cannot be converted to an XML hierarchy.(SBL-EAI-04110) -- Fatal Error in XML Parser at line 1, column 1094: The input ended before all started tags were ended. Last tag started was 'ExternalURL'(SBL-EAI-00247)
If we double escape the special characters (like &) there is not error. Also if we try reading the XML from a file, it also works fine. It seems that somehow the POST is removing the encoding and Siebel gets the XML with the naked &.
0