Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

OData Model - Response Mapping 1 to Many

Hi,

I have a SOAP Webservice (threw the Integration Gateway) that holds a number of objects (array). Within each Object there can be an array of Sub-objects that each can hold on Array of Sub-Sub-objects.

  • Object 1
    • Subobject 1
      • Sub-subobject 1
      • Sub-subobject 2
      • Sub-subobject 3
      • etc.
    • Subobject 2
      • Sub-subobject 1
    • Subobject 3
      • Sub-subobject 1
      • Sub-subobject 2
  • Object 2
    • Subobject 1
      • Sub-subobject 1
      • Sub-subobject 2
    • Subobject 2
      • etc.

What is the best way to define the OData model and Response mapping with the Eclipse SMP Tools? Are there any examples availbale because I can't get it to work. If I add a complex type that holds a single Subobject it works but it doesn't return ay results for an array.

For now this will be a read only service that returns all the data from the SOAP Service.  I am using Eclipse Kepler with the SAP Mobile Platform Tools. SMP 3.0 is at SP06.

Thanks in advance!

Tags:
Not what you were looking for? View more on this topic or Ask a question