Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
OIC REST endpoint for multi-namespace XML — 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

OIC REST endpoint for multi-namespace XML

Accepted answer
72
Views
15
Comments
edited Jan 20, 2020 9:18PM in Integration 15 comments

Summary

OIC REST endpoint for multi-namespace XML

Content

I am trying to create a REST Integration in OIC to take a 3rd party xml file, map some data elements, and insert into a table.  A 3rd party creates the xml, so I don't have any control over that.  The xml contains two namespaces in the xml, and no xsd has been provided.

OIC only allows a single or no namespace xml sample in the endpoint wizard, and I receive an appropriate error when importing the xml file.

I tried using an online formatter to create the xsd from the xml, but it makes every data tag an element, and then in the wizard, you can only choose one element for the endpoint.  Using this method would require me to make one endpoint for each of the 5 data elements I need mapped.  The data elements I need in the xml below are the ones referenced as bdl:.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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