cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating client proxy with external WSDL

Former Member
0 Kudos

SAP Basis: Rel. 701 Level 0006 support package SAPKB70106:

Hi,

I tried to generate the client proxy for a external WebServices:

- Create->Enterprise Service / Web Service -> Proxy Object

- I Select local file

- login.wsdl

I receive the message:

-


Cannot generate proxy (object <attribute name="getUserInfo"> missing in WSDL, see long text)

Message no. SPRX084

Diagnosis

In the WSDL document, the object

"<message name="getUserInfo"> <part name="parame..."

from the namespace

"urn:soap.bigmachines.com"

links to the object

"<element name="getUserInfo">"

from the namespace

"urn:soap.bigmachines.com"

However, this last object does not exist in the WSDL document.

-


How can I solved the problem?

Here the wsdl-file login.wsdl:

I find no way to append the code of the wsdl-file to this message. When I append the code with markup or not, the layout of the message is destroyed and no line of the code is in this message.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi BBR,

You don't have a tool to check the WSDL for correctness? XMLSpy or similar?

There's something wrong with the WSDL itself...

Regards, Trevor

Former Member
0 Kudos

Hi Trevor,

no I don't have a tool to check the WSDL at all. But I can read the WSDL with eclipse and generate the java classes.

I also can check the WSDL with the Report RSSISL_DESERIALIZE (see SAP Note 1327511).

The report return no error.

<sidl:DEFINITION xmlns:sidl="http://xml.sap.com/2006/08/esi/sidl/dump">
  <sidl:consistencyCheck>ok</sidl:consistencyCheck> 
- <sidl:registry assigned="true">
- <sidl:entityContainer>
- <sidl:documentNamespace namespace="http://schemas.xmlsoap.org/wsdl/">
  <sidl:entity targetNamespace="urn:soap.bigmachines.com" location="\\Tsfps01\User$\bbr\Eigene Dateien\Projekte\xxxxx\Webservice\xxx.wsdl" /> 
  </sidl:documentNamespace>
- <sidl:documentNamespace namespace="http://www.w3.org/2001/XMLSchema">
  <sidl:entity targetNamespace="urn:soap.bigmachines.com" location="" /> 
  <sidl:entity targetNamespace="http://www.w3.org/2001/XMLSchema" location="" /> 
  </sidl:documentNamespace>
  </sidl:entityContainer>
  </sidl:registry>
- <sidl:CONFIGURATION>
- <sidl:subject type="BN" name="SecurityServiceBinding" namespace="urn:soap.bigmachines.com">
  <sidl:property name="Type" namespace="http://www.sap.com/webas/710/soap/features/transportbinding/"><a href="http://schemas.xmlsoap.org/soap/http" TARGET="test_blank">http://schemas.xmlsoap.org/soap/http</a></sidl:property> 
<sidl:subject type="BO" name="getUserInfo" namespace="urn:soap.bigmachines.com" /> 
  <sidl:subject type="BO" name="login" namespace="urn:soap.bigmachines.com" /> 
  <sidl:subject type="BO" name="logout" namespace="urn:soap.bigmachines.com" /> 
  <sidl:subject type="IF" name="SecurityServicePortType" namespace="urn:soap.bigmachines.com" /> 
- <sidl:subject type="OP" name="getUserInfo" namespace="urn:soap.bigmachines.com">
<sidl:OPERATION name="getUserInfo" namespace="urn:soap.bigmachines.com">
  <sidl:registry assigned="true" /> 
  <sidl:category /> 
  <sidl:request name="getUserInfo" namespace="urn:soap.bigmachines.com" /> 
  <sidl:response name="getUserInfoResponse" namespace="urn:soap.bigmachines.com" /> 
- <sidl:outputParameters>
- <sidl:PARAMETER name="status" namespace="urn:soap.bigmachines.com">
  <sidl:registry assigned="true" /> 
  <sidl:optional>false</sidl:optional> 
  <sidl:type name="CommonStatusType" namespace="urn:soap.bigmachines.com" /> 
  </sidl:PARAMETER>

Regards, Bernd