Unable to call REST API with <?xml> and <!DOCTYPE>
Summary:
I have created a REST integration that accepts XML. When i try to enter the XML with <?xml> and <!DOCTYPE…> I am getting an error
"Exception while processing Trigger request for . ErrorMessage : oracle.xml.parser.v2.XMLparserException"
When I remove those lines it works fine. Does OIC integration not accept the the xml declaration tag and DOCTYPE tag? Unfortunately the xml I get from customer contains that and I need to remove those lines. How can I do that.
The other option I tried is creating a binary content to be accepted in the Trigger but the XML is now converted to StreamReference and I am not able to convert that back to XML.