Skip to Content
1
Former Member
Jul 02, 2015 at 07:37 AM

Does SAP IGW response mapping, supports mapping multiple child nodes within the SOAP response to OData ?

55 Views

We have SAP RFC's exposed as SOAP, which we are consuming in the SMP3.0 ,SP07,PL03 version of Integration gateway.

The following is the replica of the format of the original SOAP response.

SOAP response :


<A>
<B>
<C> </C>
<C> </C>
<C> </C>
.
.
.
.
.

</B>
</A>


We have created a entity model of ODATA

as
A as a complex type.
In which B is another complex type.
In which C is a simple type.


When we try and do a response mapping using the GWPA of Integration Gateway(IGW)
We are connecting the corresponding nodes to the complex and simple types of ODATA.

When we see the response, we are seeing the value of only the first <C> </C> and remaining values are ignored.

We went to the custom coding part and confirmed in the process response data function and the RFC is returning all the values in the above format and no <C> value is missing.

Would like to confirm, if the SAP IGW odata Modeler, supports a entity set repetition but does not support if a property within the entity set repeats.(In the above case <C> is repeating), which is a simple property of entity set.

When we tried with the following format it is working fine.


Working Response Format in IGW:


<A>
<B>
<C> </C>
</B>
</A>

<A>
<B>
<C> </C>
</B>
</A>

<A>
<B>
<C> </C>
</B>
</A>


<A>
<B>
<C> </C>
</B>
</A>


Would someone let us know if IGW supports response mapping formats like our SOAP response indicated at top ?

Attachments