Skip to Content
avatar image
Former Member

Creating ABAP proxy from WSDL fails

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">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>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 03, 2009 at 07:13 PM

    Hi,

    I think the following are the lines that are giving you the issue

    <import namespace="http://DefaultNamespace" /> 
    <import namespace="http://rpc.xml.coldfusion" /> 
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />

    Please check all the import source are available in the ESR.

    Thanks,

    Prakash

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2009 at 01:02 PM

    I have the same error. Generating a proxy in SE80 from a WSDL file causes the error:

    "Incorrect value: Unknown Namespace" (Without any specific namespace)

    Does anyone have an idea to solve this problem?

    Gigi.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2012 at 02:01 PM

    Not sure what the exact problem is here, but I think we are all misunderstanding the meaning of the error. I think the message means that the value "Unknown" is incorrect, not the Namespace. The Namespace is there for information.

    The actual reason for the "Unknown" value probably varies from example to example. I expect in the case above it is the imports causing the problem.

    Add comment
    10|10000 characters needed characters exceeded