on 03-02-2009 6:27 PM
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" ?>
<wsdl:definitions targetNamespace="http://DefaultNamespace" xmlns:apachesoap="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>
<schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://DefaultNamespace" />
<import namespace="http://rpc.xml.coldfusion" />
<import namespace="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>
<schema targetNamespace="http://rpc.xml.coldfusion" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://DefaultNamespace" />
<import namespace="http://xml.apache.org/xml-soap" />
<import namespace="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>
<schema targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://rpc.xml.coldfusion" />
<import namespace="http://xml.apache.org/xml-soap" />
<import namespace="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">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="login">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="loginRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded" />
</wsdl:input>
<wsdl:output name="loginResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded" />
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="CFCInvocationException" namespace="http://DefaultNamespace" use="encoded" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="login">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Log into Carrier411 web services.</wsdl:documentation>
<wsdl:port binding="impl:wsLogin.cfcSoapBinding" name="wsLogin.cfc">
<wsdlsoap:address location="http://webservices.carrier411.com/wsLogin.cfc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prakash ,
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 have seen that you encountered a similar issue . Please let me know what you did to rectify this. This is important and I am quite new to this concept. For client confidentiality issues I cannot put the wsdl file or its content anywhere but I can provide you with certain details of the code which you might wish to see.
Regards
Abhishek
I have the exact same error. I generate a proxy in SE80 from a WSDL file, and I get the error:
Incorrect value: Unknown Namespace http://schemas.xmlsoap.org/soap/encoding/
I know the WSDL is correct, since it's an external webservice, and many more people use this webservice.Do I have to add this namespace somewhere?
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.