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: 

Client Proxy Generation Error

Former Member
0 Kudos
155

Hi All,

I have a java web-service deployed in Enterprise Portal which I need to consume in a BSP.

Unfortunately, I'm getting an error on client proxy generation:

Proxy generation terminated: Message must have exactly one part

Is anyone familiar with this? The WSDL file says it has been generated by SAP PORTAL ECLIPSE PLUGINS.

Here is the WSDL file:

<?xml version="1.0" encoding="UTF-8" ?>

- <!-- WSDL File generated by the SAP PORTAL ECLIPSE PLUGINS

-->

- <!-- VERSION : 6.3.20051124

-->

- <wsdl:definitions name="xCDRServices" targetNamespace="prt:service:com.sap.xcdr.xCDRServices" xmlns:intf="prt:service:com.sap.xcdr.xCDRServices" xmlns:xsd_doc="prt:service:com.sap.xcdr.xCDRServices/DocumentTypes" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime" xmlns:http="http://schemas.xmlsoap.org/soap/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns0="http://prt.java.soap/schemas" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns2="http://lang.java" xmlns:tns1="http://api.security.sap.com">

- <types>

- <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="prt:service:com.sap.xcdr.xCDRServices/DocumentTypes" elementFormDefault="qualified">

<element name="checkUserExists_1_param2" nillable="true" type="xsd:string" />

<element name="response_checkUserExists_1" type="xsd:int" />

<element name="getUserRoles_1_param3" nillable="true" type="xsd:string" />

<element name="response_getUserRoles_2" nillable="true" type="xsd:string" />

<element name="getAllRolesInNameSpace_1_param4" nillable="true" type="xsd:string" />

<element name="response_getAllRolesInNameSpace_3" nillable="true" type="xsd:string" />

<element name="assignRoles_2_param5" nillable="true" type="xsd:string" />

<element name="assignRoles_2_param6" nillable="true" type="xsd:string" />

<element name="response_assignRoles_4" nillable="true" type="xsd:string" />

</schema>

- <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://prt.java.soap/schemas" elementFormDefault="qualified">

- <complexType name="PortalSOAPFault">

- <sequence>

<element name="stackTrace" minOccurs="0" maxOccurs="1" type="xsd:string" />

</sequence>

</complexType>

- <complexType name="UMException">

- <complexContent>

- <extension base="tns0:PortalSOAPFault">

- <sequence>

<element name="LocalizedMessage" nillable="true" type="xsd:string" />

<element name="Message" nillable="true" type="xsd:string" />

<element name="NestedException" type="tns0:Throwable" />

</sequence>

</extension>

</complexContent>

</complexType>

- <complexType name="Throwable">

- <complexContent>

- <extension base="tns0:PortalSOAPFault">

<sequence />

</extension>

</complexContent>

</complexType>

<element name="error_UMException" type="tns0:UMException" />

</schema>

</types>

- <wsdl:message name="assignRolesResponse">

<wsdl:part name="response_assignRoles_4" element="xsd_doc:response_assignRoles_4" />

</wsdl:message>

- <wsdl:message name="checkUserExistsRequest">

<wsdl:part name="checkUserExists_1_param2" element="xsd_doc:checkUserExists_1_param2" />

</wsdl:message>

- <wsdl:message name="checkUserExistsResponse">

<wsdl:part name="response_checkUserExists_1" element="xsd_doc:response_checkUserExists_1" />

</wsdl:message>

- <wsdl:message name="getAllRolesInNameSpaceResponse">

<wsdl:part name="response_getAllRolesInNameSpace_3" element="xsd_doc:response_getAllRolesInNameSpace_3" />

</wsdl:message>

- <wsdl:message name="getAllRolesInNameSpaceRequest">

<wsdl:part name="getAllRolesInNameSpace_1_param4" element="xsd_doc:getAllRolesInNameSpace_1_param4" />

</wsdl:message>

- <wsdl:message name="UMException">

<wsdl:part name="error_UMException" element="tns0:error_UMException" />

</wsdl:message>

- <wsdl:message name="getUserRolesRequest">

<wsdl:part name="getUserRoles_1_param3" element="xsd_doc:getUserRoles_1_param3" />

</wsdl:message>

- <wsdl:message name="assignRolesRequest">

<wsdl:part name="assignRoles_2_param5" element="xsd_doc:assignRoles_2_param5" />

<wsdl:part name="assignRoles_2_param6" element="xsd_doc:assignRoles_2_param6" />

</wsdl:message>

- <wsdl:message name="getUserRolesResponse">

<wsdl:part name="response_getUserRoles_2" element="xsd_doc:response_getUserRoles_2" />

</wsdl:message>

- <wsdl:portType name="xCDRServices">

- <wsdl:operation name="checkUserExists" parameterOrder="checkUserExists_1_param2">

<wsdl:input name="checkUserExists_input0" message="intf:checkUserExistsRequest" />

<wsdl:output name="checkUserExists_output0" message="intf:checkUserExistsResponse" />

</wsdl:operation>

- <wsdl:operation name="getUserRoles" parameterOrder="getUserRoles_1_param3">

<wsdl:input name="getUserRoles_input0" message="intf:getUserRolesRequest" />

<wsdl:output name="getUserRoles_output0" message="intf:getUserRolesResponse" />

<wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />

</wsdl:operation>

- <wsdl:operation name="getAllRolesInNameSpace" parameterOrder="getAllRolesInNameSpace_1_param4">

<wsdl:input name="getAllRolesInNameSpace_input0" message="intf:getAllRolesInNameSpaceRequest" />

<wsdl:output name="getAllRolesInNameSpace_output0" message="intf:getAllRolesInNameSpaceResponse" />

<wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />

</wsdl:operation>

- <wsdl:operation name="assignRoles" parameterOrder="assignRoles_2_param5 assignRoles_2_param6">

<wsdl:input name="assignRoles_input0" message="intf:assignRolesRequest" />

<wsdl:output name="assignRoles_output0" message="intf:assignRolesResponse" />

<wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />

</wsdl:operation>

</wsdl:portType>

- <wsdl:binding name="com.sap.portal.prt.soap.xCDRServicesBinding" type="intf:xCDRServices">

<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />

- <wsdl:operation name="checkUserExists">

<soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/checkUserExists0" />

- <wsdl:input name="checkUserExists_input0">

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output name="checkUserExists_output0">

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="getUserRoles">

<soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/getUserRoles0" />

- <wsdl:input name="getUserRoles_input0">

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output name="getUserRoles_output0">

<soap:body use="literal" />

</wsdl:output>

- <wsdl:fault name="com.sap.security.api.UMException">

<soap:fault name="com.sap.security.api.UMException" use="literal" />

</wsdl:fault>

</wsdl:operation>

- <wsdl:operation name="getAllRolesInNameSpace">

<soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/getAllRolesInNameSpace0" />

- <wsdl:input name="getAllRolesInNameSpace_input0">

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output name="getAllRolesInNameSpace_output0">

<soap:body use="literal" />

</wsdl:output>

- <wsdl:fault name="com.sap.security.api.UMException">

<soap:fault name="com.sap.security.api.UMException" use="literal" />

</wsdl:fault>

</wsdl:operation>

- <wsdl:operation name="assignRoles">

<soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/assignRoles0" />

- <wsdl:input name="assignRoles_input0">

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output name="assignRoles_output0">

<soap:body use="literal" />

</wsdl:output>

- <wsdl:fault name="com.sap.security.api.UMException">

<soap:fault name="com.sap.security.api.UMException" use="literal" />

</wsdl:fault>

</wsdl:operation>

</wsdl:binding>

- <wsdl:service name="xCDRServicesService">

- <wsdl:port name="com.sap.portal.prt.soap.xCDRServices" binding="intf:com.sap.portal.prt.soap.xCDRServicesBinding">

<soap:address location="http://idesportaluss1.phl.sap.corp:1080/irj/servlet/prt/soap/com.sap.portal.prt.soap.xcdrservices?style=doc_lit" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Thanks very much in advance!

Regards,

Roman

1 REPLY 1

Former Member
0 Kudos
67

By the way, I read a few post about this on SDN, but they didn't offer any solutions, and were from almost a year ago, so I was wondering if there's been any progress.