on 10-30-2008 2:02 PM
We are using WAS 7.0 and I'm trying to generate a client proxy for an inhouse webservice via Object Navigator (SE80). When using the Wizard I get an error message from the Librabry Handler saying: "Unknown namespace: http://schemas.xmlsoap.org/soap/encoding".
A check by the colleagues who provide this Webservice says that the wsdl is ok.
Any idea for this error message?
Many Thanks.
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:tns="http://jaspro.intra.tnt.de:7001/webservices"
xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://jaspro.intra.tnt.de:7001/webservices">
<types xmlns:tns="http://jaspro.intra.tnt.de:7001/webservices"
xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:stns="java:language_builtins.lang"
elementFormDefault="qualified"
attributeFormDefault="qualified"
targetNamespace="java:language_builtins.lang">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/">
</xsd:import>
<xsd:complexType name="ArrayOfString">
<xsd:complexContent>
<xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
base="soapenc:Array">
<xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
ref="soapenc:arrayType"
wsdl:arrayType="xsd:string[]">
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</types>
<message name="checkZZ">
<part xmlns:partns="http://www.w3.org/2001/XMLSchema"
type="partns:string"
name="string">
</part>
<part xmlns:partns="http://www.w3.org/2001/XMLSchema"
type="partns:string"
name="string0">
</part>
<part xmlns:partns="http://www.w3.org/2001/XMLSchema"
type="partns:string"
name="string1">
</part>
</message>
<message name="checkZZResponse">
<part xmlns:partns="java:language_builtins.lang"
type="partns:ArrayOfString"
name="result">
</part>
</message>
<portType name="TNTOfficeRexplanWebServicesPort">
<operation name="checkZZ">
<input message="tns:checkZZ">
</input>
<output message="tns:checkZZResponse">
</output>
</operation>
</portType>
<binding type="tns:TNTOfficeRexplanWebServicesPort"
name="TNTOfficeRexplanWebServicesPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="checkZZ">
<soap:operation style="rpc" soapAction="" />
<input>
<soap:body namespace="http://jaspro.intra.tnt.de:7001/webservices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" />
</input>
<output>
<soap:body namespace="http://jaspro.intra.tnt.de:7001/webservices" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" />
</output>
</operation>
</binding>
<service name="TNTOfficeRexplanWebServices">
<port name="TNTOfficeRexplanWebServicesPort"
binding="tns:TNTOfficeRexplanWebServicesPort">
<soap:address location="http://jaspro:7001/rexplanWebService/TNTOfficeRexplanWebServices" />
</port>
</service>
</definitions>
Hello,
I am facing the same problem when trying to test the use of web services with some ws from xmethods.net.
Could someone provide me with some informations why this problem occurs? My unknown namespace is: http://schemas.xmlsoap.ort/soap/encoding/
Thx, Vanessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vanessa,
I'm no WSDl-expert, but the WSDL has to accomplish some prerequisites:
You can't use SOAP-encoding as it is not WS-I compliant and is not supported by proxy generation of SAP.
See the following link for further information: http://www.ws-i.org/Profiles/BasicProfile-1.1.html
Especially the <wsdlsoap:binding style="rpc" ... is not supported.
Besides there are some more restrictions which are describe in SAP-Note 944029.
I've got this information from SAP-Support.
I hope this helps to solve your problem.
Regards
Michael
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
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.