Skip to Content
0
Former Member
Nov 03, 2015 at 10:29 PM

Data type / message type creation for Rest Response

129 Views

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.