cancel
Showing results for 
Search instead for 
Did you mean: 

incorrect value: unknown namespace http://www.w3.org/2001/xmlschema

former_member435556
Participant
0 Kudos

Hello

I am trying to consume External web services url  http://172.31.3.48:8717/?wsdl from se80 - enterprise services - client proxy etc, which is located on our local server , but it giving me a error "liberary haldler exception"  " incorrect value: unknown namespace http://www.w3.org/2001/xmlschema"  I AM trying to solve this issue from last one week but failed to fix it, please help me I have already posted this question but no one replied to me,

your help will be appreciated.

Given below is my Wsdl file.

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

<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://tempuri.org/">

  <wsdl:types>

  <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">

  <s:element name="GetData">

  <s:complexType>

  <s:sequence>

  <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string"/>

  <s:element minOccurs="0" maxOccurs="1" name="pass" type="s:string"/>

  <s:element minOccurs="0" maxOccurs="1" name="fromdate" type="s:string"/>

  <s:element minOccurs="0" maxOccurs="1" name="todate" type="s:string"/>

  </s:sequence>

  </s:complexType>

  </s:element>

  <s:element name="GetDataResponse">

  <s:complexType>

  <s:sequence>

  <s:element minOccurs="0" maxOccurs="1" name="GetDataResult">

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

  <wsdl:part name="parameters" element="tns:GetData"/>

  </wsdl:message>

  <wsdl:message name="GetDataSoapOut">

  <wsdl:part name="parameters" element="tns:GetDataResponse"/>

  </wsdl:message>

  <wsdl:portType name="WSCRPL9001Soap">

  <wsdl:operation name="GetData">

  <wsdl:input message="tns:GetDataSoapIn"/>

  <wsdl:output message="tns:GetDataSoapOut"/>

  </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="WSCRPL9001Soap" type="tns:WSCRPL9001Soap">

  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

  <wsdl:operation name="GetData">

  <soap:operation soapAction="http://tempuri.org/GetData" style="document"/>

  <wsdl:input>

  <soap:body use="literal"/>

  </wsdl:input>

  <wsdl:output>

  <soap:body use="literal"/>

  </wsdl:output>

  </wsdl:operation>

  </wsdl:binding>

  <wsdl:binding name="WSCRPL9001Soap12" type="tns:WSCRPL9001Soap">

  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

  <wsdl:operation name="GetData">

  <soap12:operation soapAction="http://tempuri.org/GetData" style="document"/>

  <wsdl:input>

  <soap12:body use="literal"/>

  </wsdl:input>

  <wsdl:output>

  <soap12:body use="literal"/>

  </wsdl:output>

  </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="WSCRPL9001">

  <wsdl:port name="WSCRPL9001Soap" binding="tns:WSCRPL9001Soap">

  <soap:address location="http://172.31.3.48:8717/WS-CRPL-9001.asmx"/>

  </wsdl:port>

  <wsdl:port name="WSCRPL9001Soap12" binding="tns:WSCRPL9001Soap12">

  <soap12:address location="http://172.31.3.48:8717/WS-CRPL-9001.asmx"/>

  </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

Accepted Solutions (0)

Answers (1)

Answers (1)

nikolayevstigneev
Contributor
0 Kudos

Hi!

Have you googled your problem?

There are several posts that look similar to yours: 1, 2, 3.

People say, it might be the line

<s:element ref="s:schema"/>

.

former_member435556
Participant
0 Kudos

I removed this statement and proxy generated successfully but this statement might be referencing another XMl file because i have  to get data after giving user name password, so please give me way to correct this statement.

Secondly after creating the logical port from soamanger tcode, WHEN I test this webs service from se80 it giving me this error "SoapFaultCode:3  SOAP header To was not"    .

please help to solve both of these problems as i got stuck.

Thanks

nikolayevstigneev
Contributor
0 Kudos

Unfortunately, it's not my area of experience, I just googled your error, so I strongly advise to search through the Web as far as there were many links that I've not included in reply.