on 2025 Feb 20 9:14 PM
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:
ODATAV4 enricher config:
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'
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
Request clarification before answering.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.