cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conent Enricher ODataV4 is causing an error - Unbound namespace URI

DLange
Participant
505

Dear community,

we are currently running into an error when we want to use the content enricher with ODATA V4. We have following payload as original message:

 

<rpt_transcript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <transcript>
    <start_dt>2024-11-22T08:00:00Z</start_dt>
    <comp_dt xsi:nil="true"/>
    <object_id>819b6e0c-f252-49f2-dc45-a3cc7d4c8829</object_id>
    <t_user_id>0815</t_user_id>
  </transcript>
</rpt_transcript>

 

Here followed the config of the content enricher: 

DLange_0-1740085575462.png

ODATAV4 enricher config:

DLange_1-1740085789116.png

And here as an example the XML payload for the payload wich should be enriched (lookup message):

 

    <rpt_user xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <rpt_user>
        <user_name_first>XXX</user_name_first>
        <user_id>0815</user_id>
        <user_name_last>XXX</user_name_last>
        <user_address2 xsi:nil="true"/>
        <user_address1 xsi:nil="true"/>
        <user_zip xsi:nil="true"/>
        <user_state xsi:nil="true"/>
      </rpt_user>
    </rpt_user>

 

At the moment we are getting following error in CPI:

org.apache.camel.CamelExchangeException: Error occurred during aggregation. Exchange[498134F5CD2FC33-0000000000000003]. Caused by: [com.sap.it.rt.camel.aggregate.exception.AggregationStrategyException - java.lang.IllegalStateException: Exception at getRecordAtCurrentLevelAgainstKey], cause: javax.xml.stream.XMLStreamException: Unbound namespace URI 'http://www.w3.org/2001/XMLSchema-instance'

DLange_2-1740085888841.png

 

Fore sure the "xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance" is already configured in the namespace mapping in the runtime configuration.

Does someone have ideas? 

Thanks

DL

 

 

Accepted Solutions (0)

Answers (0)