Skip to Content
0
Former Member
Mar 02, 2009 at 06:27 PM

Creating ABAP proxy from WSDL fails

1165 Views

Hi,

I am trying to consume a web-service from an ABAP progam, to do this I create an Enterprise Service Client Proxy. But creation of the proxy fails with the error message

"Incorrect value: Unknown Namespace http://schemas.xmlsoap.org/soap/encoding/"

I am attaching the WSDL file with this message, please let me know if anyone has a solution out for this particular problem.

br,

Santosh.

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

http://xml.apache.org/xml-soap" xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://rpc.xml.coldfusion" xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema">

<!-- WSDL created by Macromedia ColdFusion MX version 7,0,2,142559

-->

<wsdl:types>

http://xml.apache.org/xml-soap" xmlns=" http://www.w3.org/2001/XMLSchema">

<import namespace="http://DefaultNamespace" />

<import namespace="http://rpc.xml.coldfusion" />

http://schemas.xmlsoap.org/soap/encoding/" />

<complexType name="mapItem">

<sequence>

<element name="key" nillable="true" type="xsd:anyType" />

<element name="value" nillable="true" type="xsd:anyType" />

</sequence>

</complexType>

<complexType name="Map">

<sequence>

<element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />

</sequence>

</complexType>

</schema>

http://www.w3.org/2001/XMLSchema">

<import namespace="http://DefaultNamespace" />

http://xml.apache.org/xml-soap" />

http://schemas.xmlsoap.org/soap/encoding/" />

<complexType name="CFCInvocationException">

<sequence />

</complexType>

<complexType name="QueryBean">

<sequence>

<element name="columnList" nillable="true" type="impl:ArrayOf_xsd_string" />

<element name="data" nillable="true" type="impl:ArrayOfArrayOf_xsd_anyType" />

</sequence>

</complexType>

</schema>

http://www.w3.org/2001/XMLSchema">

<import namespace="http://rpc.xml.coldfusion" />

http://xml.apache.org/xml-soap" />

http://schemas.xmlsoap.org/soap/encoding/" />

<complexType name="ArrayOf_xsd_string">

<complexContent>

<restriction base="soapenc:Array">

<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />

</restriction>

</complexContent>

</complexType>

<complexType name="ArrayOfArrayOf_xsd_anyType">

<complexContent>

<restriction base="soapenc:Array">

<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType][" />

</restriction>

</complexContent>

</complexType>

</schema>

</wsdl:types>

<wsdl:message name="loginRequest">

<wsdl:part name="param1" type="xsd:string" />

<wsdl:part name="param2" type="xsd:string" />

</wsdl:message>

<wsdl:message name="loginResponse">

<wsdl:part name="loginReturn" type="apachesoap:Map" />

</wsdl:message>

<wsdl:message name="CFCInvocationException">

<wsdl:part name="fault" type="tns1:CFCInvocationException" />

</wsdl:message>

<wsdl:portType name="wsLogin">

<wsdl:operation name="login" parameterOrder="param1 param2">

<wsdl:input message="impl:loginRequest" name="loginRequest" />

<wsdl:output message="impl:loginResponse" name="loginResponse" />

<wsdl:fault message="impl:CFCInvocationException" name="CFCInvocationException" />

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="wsLogin.cfcSoapBinding" type="impl:wsLogin">

http://schemas.xmlsoap.org/soap/http" />

<wsdl:operation name="login">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="loginRequest">

http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded" />

</wsdl:input>

<wsdl:output name="loginResponse">

http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded" />

</wsdl:output>

<wsdl:fault name="CFCInvocationException">

http://schemas.xmlsoap.org/soap/encoding/" name="CFCInvocationException" namespace="http://DefaultNamespace" use="encoded" />

</wsdl:fault>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="login">

Log" target="_blank"> Log" target="_blank">http://schemas.xmlsoap.org/wsdl/">Log into Carrier411 web services.

<wsdl:port binding="impl:wsLogin.cfcSoapBinding" name="wsLogin.cfc">

http://webservices.carrier411.com/wsLogin.cfc" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>