Skip to Content
0
Jul 01, 2013 at 06:58 AM

No filing ABAP structure when the response is defined with a complextype with a choice sentence

302 Views

Hi, we have defined an ABAP client proxy to consume a Web Service which response it is defined with a complextype using a choice.

<xs:complexType name="Ie115V1SalType">

<xs:choice>

<xs:element ref="Sal101:IE101"/>

<xs:element ref="Sal104:IE104"/>

</xs:choice>

</xs:complexType>

The ResponsePaylod is working fine but we get nothing in ABAP, I mean when the proxy has to map from the Payload to the ABAP structures it does not work.

Just to check where the problem is we modified the proxy removing the choice complexType and using only one structure for the output and in this case the ABAP structure is filled up correctly. So we guess the problem is related with the choice sentence.

We also checked this with two different systems and the behavior is the same..... (NW 7.01 SP13 and NW 7.01 SP12)

Do you have any similiar experence?

Regards,

Antonio