cancel
Showing results for 
Search instead for 
Did you mean: 

Library handler Exception while creating Service Provider

0 Kudos
710

Hello Community,

I am getting the below Error while uploading the WSDL file shared by partner to create the service provider.

I have followed the below steps .

Enterprise services /Service consumer /Create /ExternalWSDL/Schema >Continue

After uploading i am getting the below exception.

Can someone help in this if you have faced the similar issue. Below is the WSDL file I am trying to upload.

<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://eshopaid.in" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://eshopaid.in">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://eshopaid.in">
<s:element name="GetResponseAsXml">
<s:complexType/>
</s:element>
<s:element name="GetResponseAsXmlResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetResponseAsXmlResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="eShopaidSoapHeader" type="tns:eShopaidSoapHeader"/>
<s:complexType name="eShopaidSoapHeader">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="MethodName" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="FromDate" type="s:dateTime"/>
<s:element minOccurs="1" maxOccurs="1" name="ToDate" type="s:dateTime"/>
<s:element minOccurs="0" maxOccurs="1" name="OptionalData" type="s:string"/>
</s:sequence>
<s:anyAttribute/>
</s:complexType>
<s:element name="GetResponseAsDataSet">
<s:complexType/>
</s:element>
<s:element name="GetResponseAsDataSetResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetResponseAsDataSetResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="GetResponseAsXmlSoapIn">
<wsdl:part name="parameters" element="tns:GetResponseAsXml"/>
</wsdl:message>
<wsdl:message name="GetResponseAsXmlSoapOut">
<wsdl:part name="parameters" element="tns:GetResponseAsXmlResponse"/>
</wsdl:message>
<wsdl:message name="GetResponseAsXmleShopaidSoapHeader">
<wsdl:part name="eShopaidSoapHeader" element="tns:eShopaidSoapHeader"/>
</wsdl:message>
<wsdl:message name="GetResponseAsDataSetSoapIn">
<wsdl:part name="parameters" element="tns:GetResponseAsDataSet"/>
</wsdl:message>
<wsdl:message name="GetResponseAsDataSetSoapOut">
<wsdl:part name="parameters" element="tns:GetResponseAsDataSetResponse"/>
</wsdl:message>
<wsdl:message name="GetResponseAsDataSeteShopaidSoapHeader">
<wsdl:part name="eShopaidSoapHeader" element="tns:eShopaidSoapHeader"/>
</wsdl:message>
<wsdl:portType name="eShopaidServicesSoap">
<wsdl:operation name="GetResponseAsXml">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Obtains eshopaid response as XML</wsdl:documentation>
<wsdl:input message="tns:GetResponseAsXmlSoapIn"/>
<wsdl:output message="tns:GetResponseAsXmlSoapOut"/>
</wsdl:operation>
<wsdl:operation name="GetResponseAsDataSet">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Obtains eshopaid response as Dataset</wsdl:documentation>
<wsdl:input message="tns:GetResponseAsDataSetSoapIn"/>
<wsdl:output message="tns:GetResponseAsDataSetSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="eShopaidServicesSoap" type="tns:eShopaidServicesSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResponseAsXml">
<soap:operation soapAction="http://eshopaid.in/GetResponseAsXml" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
<soap:header message="tns:GetResponseAsXmleShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
<soap:header message="tns:GetResponseAsXmleShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResponseAsDataSet">
<soap:operation soapAction="http://eshopaid.in/GetResponseAsDataSet" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
<soap:header message="tns:GetResponseAsDataSeteShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
<soap:header message="tns:GetResponseAsDataSeteShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="eShopaidServicesSoap12" type="tns:eShopaidServicesSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResponseAsXml">
<soap12:operation soapAction="http://eshopaid.in/GetResponseAsXml" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
<soap12:header message="tns:GetResponseAsXmleShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
<soap12:header message="tns:GetResponseAsXmleShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResponseAsDataSet">
<soap12:operation soapAction="http://eshopaid.in/GetResponseAsDataSet" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
<soap12:header message="tns:GetResponseAsDataSeteShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
<soap12:header message="tns:GetResponseAsDataSeteShopaidSoapHeader" part="eShopaidSoapHeader" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="eShopaidServices">
<wsdl:port name="eShopaidServicesSoap" binding="tns:eShopaidServicesSoap">
<soap:address location="https://adidasgroup.in/ADSR/WEBSERVICE/eShopaidServices.asmx"/>
</wsdl:port>
<wsdl:port name="eShopaidServicesSoap12" binding="tns:eShopaidServicesSoap12">
<soap12:address location="https://adidasgroup.in/ADSR/WEBSERVICE/eShopaidServices.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions><br>
Thanks in Advance !!

Accepted Solutions (0)

Answers (1)

Answers (1)

turkaj
Active Participant
0 Kudos

Hello AMRITANSH,

I had a similar problem before, I think it was also the same error message “Incorrect value: Unknown namespace …”. In my case, it was because the entered namespace was not accessible from the SAP system (check TA: SMICM). If you call up http://www.w3.org/2001/XMLSchema, you will automatically be redirected to https://www.w3.org/2001/XMLSchema.

Maybe you have a similar problem in your case.

Regards
Jim