SAP Knowledge Base Article - Preview

1714792 - ESI - Proxy generation terminated: Message must have exactly one part.

Symptom

  1. Creating an ABAP proxy with reference to a WSDL document that contains multiple part entries fails.
  2. Creating an ABAP proxy with reference to a WSDL document that contains a message with NO part entries fails.

When trying to create the proxy in either scenario the following error is thrown:

SPRX046: Proxy generation terminated: Message must have exactly one part.

Example of WSDL with multiple part entries:

...<wsdl:message name="SomeMessageResponse">
<wsdl:part element="impl:Part_1" name="Part1"/>
<wsdl:part element="impl:Part_2" name="Part2"/>
<wsdl:part element="impl:Part_3" name="Part3"/>
<wsdl:part element="impl:Part_4" name="Part4"/>
</wsdl:message>...

Example of WSDL part entries:

   <wsdl:message name="someRequest">
      <wsdl:part name="parms" element="CallRequestParms" />
   </wsdl:message>                                                                                          >>> This message has ONE part.

   <wsdl:message name="someResponse" />                                                      >>> This message has NO part.
   <wsdl:message name="getSomeRequest"></wsdl:message>                           >>> This message has NO part.


Read more...

Environment

  • ABAP Web Services
  • SAP NetWeaver 2004
  • SAP NetWeaver 7.0

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0

Keywords

Webservice, Web Service, Webservices, Web Services, ESI, ESI_GDPR, ESI_STD, Proxy generation terminated: Message must have exactly one part, SPRX046, RPC Style WSDL, , KBA , BC-DWB-PRX , Proxy Generation , BC-ESI-WS-ABA , Web Service and SOAP - ABAP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.