cancel
Showing results for 
Search instead for 
Did you mean: 

Creating ABAP proxy from WSDL fails

Former Member
0 Kudos

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>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<?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">{code]

check the above with this

<?xml version="1.0" encoding="ISO-8859-1"?>

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:p1="http://1309/ABAPClientProxy2ABAPServerProxy" name="MI_A_OUT_EmpDetails_1309" targetNamespace="http://1309/ABAPClientProxy2ABAPServerProxy">

here "http://1309/ABAPClientProxy2ABAPServerProxy" is the namespace where u created ur IR objects and

MI_A_OUT_EmpDetails_1309 is the outbound Message Interface