on 11-03-2015 10:29 PM
Hi Experts ,
I have a Proxy to REST synchronous scenario. During response mapping I am getting the error
Runtime exception occurred during application mapping com/sap/xi/tf/_SAP_Events_MM_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_response/return. Values missing in queue context.
When I run the test from Advanced REST Client the output comes likes below structure.
<ns2:return>
<status> </status>
<ns2:events>
<ns2:event>
</ns2:event>
</ns2:events>
<ns2:link>
</ns2:return>
How can I create the datatype / message type which can accept this response from the REST WebService.
"ns2:" is not being accepted in the datatype as a valid XML Tag.
Please provide your valuable inputs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark ,
Thank you so much for the guidance .
I was able to test the java mapping , but iam getting the below error in SXI_Monitor.
Linkage error while loading class events_Javamapping/Events_Javamapping; java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
I imported the jar file in NWDS in the project build path and no errors were found in NWDS.
Can you please assist .
Hi Nick,
The apache commons jar file should be imported in ESR as an imported archive. This should be in the same SWCV as your java mapping.
https://commons.apache.org/proper/commons-io/
Regards,
Mark
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.