Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Message must have exactly one part

Former Member
0 Kudos

hi,

I have tryed to create a proxy in ECC 6.0 abap but it gives an error message:

Proxy generation terminated: Message must have exactly one part

Message no. SPRX046

Background

During proxy generation, an interface description in WSDL format is fetched from the Integration Builder or from another source and interpreted. This WSDL document must describe the whole interface correctly.

==> Display Query

==> Display WSDL Document

Diagnosis

In a WSDL document, a <message> must contain exactly one <part>, therefore:

<message name="ObtenerLicenciaRequest">

<part .../>

</message>

In this case, a <message> has no <part> or multiple <part> entries. Proxy generation cannot process such messages.

System Response

Proxy generation is terminated.*

can any one help me?

The WSDL is:

http://200.0.156.42/lme_pruebas/webservices/webservicesEmpleadores.php?wsdl

Thanks

1 ACCEPTED SOLUTION

Jelena
Active Contributor

Here is the fragment from your WSDL. You have more than one line with <part name...>:

- <message name="ObtenerLicenciaRequest">
  <part name="rut_empleador" type="xsd:int" /> 
  <part name="dv_rut_empleador" type="xsd:string" /> 
  <part name="rut_usuario" type="xsd:int" /> 
  <part name="dv_rut_usuario" type="xsd:string" /> 
  <part name="password" type="xsd:string" /> 
  <part name="fecha_proceso" type="xsd:dateTime" /> 
  </message>

According to the error message, you must have only one of those, e.g.:

- <message name="ObtenerLicenciaRequest">
  <part name="rut_empleador" type="xsd:int" /> 
  </message>

2 REPLIES 2

Jelena
Active Contributor

Here is the fragment from your WSDL. You have more than one line with <part name...>:

- <message name="ObtenerLicenciaRequest">
  <part name="rut_empleador" type="xsd:int" /> 
  <part name="dv_rut_empleador" type="xsd:string" /> 
  <part name="rut_usuario" type="xsd:int" /> 
  <part name="dv_rut_usuario" type="xsd:string" /> 
  <part name="password" type="xsd:string" /> 
  <part name="fecha_proceso" type="xsd:dateTime" /> 
  </message>

According to the error message, you must have only one of those, e.g.:

- <message name="ObtenerLicenciaRequest">
  <part name="rut_empleador" type="xsd:int" /> 
  </message>

0 Kudos

I Also have the same problem.

Is there a way to fix this?