Unable to call REST API with <?xml> and <!DOCTYPE> — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!