Application Development and Automation 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: 
Read only

Error while generating proxy

Former Member
0 Likes
404

Hi everyone ,

I am trying to create client proxy in SAP but getting this error:

(WSDL is after error)

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

- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">

- <asx:values>

<SYSTEMFAULT href="#o139" />

</asx:values>

- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">

- <cls:CX_AI_SYSTEM_FAULT id="o139">

- <CX_ROOT>

<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>

<PREVIOUS />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>186</PROGID>

<CONTID>993</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_AI_SYSTEM_FAULT>

<CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>

<CODE>SOAP:112</CODE>

<ERRORTEXT>no extended error message (SOAP_ESERVER)</ERRORTEXT>

<LANGUAGE />

</CX_AI_SYSTEM_FAULT>

</cls:CX_AI_SYSTEM_FAULT>

</asx:heap>

</asx:abap>

<u><b>

using this WSDL :</b></u>

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

<wsdl:definitions name="HelloWorldService"

targetNamespace="http://apnnain:8079/wsdl/HelloWorldService"

xmlns="http://apnnain:8079/wsdl/HelloWorldService"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:ns1="http://apnnain:8079/xsd/HelloWorldService"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:tns="http://apnnain:8079/wsdl/HelloWorldService">

<wsdl:types>

<xsd:schema targetNamespace="http://apnnain:8079/xsd/HelloWorldService"d>

<xsd:element name="FaultAdvice">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="FaultMsg" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="HelloWorld">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="InputMsg" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="HelloWorldResponse">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="OutputMsg" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:schema>

</wsdl:types>

<wsdl:message name="HelloWorld">

<wsdl:part name="parm1" element="ns1:HelloWorld"/>

</wsdl:message>

<wsdl:message name="HelloWorldResponse">

<wsdl:part name="parm1" element="ns1:HelloWorldResponse"/>

</wsdl:message>

<wsdl:portType name="HelloWorldService_portType">

<wsdl:operation name="HelloWorld" >

<wsdl:input name="input" message="tns:HelloWorld"/>

<wsdl:output name="output" message="tns:HelloWorldResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="HelloWorldService_Binding" type="tns:HelloWorldService_portType">

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

<wsdl:operation name="HelloWorld">

<soap:operation soapAction="HelloWorld" style="document"/>

<wsdl:input name="input">

<soap:body use="literal" parts="parm1"/>

</wsdl:input>

<wsdl:output name="output">

<soap:body use="literal" parts="parm1"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="HelloWorldService">

<wsdl:port name="HelloWorldService_Port" binding="tns:HelloWorldService_Binding">

<soap:address location="http://apnnain:8079/HelloWorldService"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

What could be the problem in WSDL which SAP couldnot handle????

thanks,

Pranav

2 REPLIES 2
Read only

Former Member
0 Likes
354

does anyone has set of wsdl tags which SAP could or could not understand

Read only

0 Likes
354

in the above wsdl this line is what causing the problem

<xsd:schema targetNamespace="http://apnnain:8079/xsd/HelloWorldService"d>

whats that extra d?

is this a typo ?

Raja