You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Beer, Christian" <BE...@DIRON.de> on 2001/05/07 09:47:52 UTC

WG: SOAP does not work ??

Please help me!

I tried to use SOAP under tomcat 3.2.1 using xerces 1.3.1. 

I get the following response if I try to list all deployed services from
command line:

[...Header...]
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:listResponse xmlns:ns1="urn:xml-soap-service-management-service"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:Array" ns2:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">urn:StringUtil</item>
</return>
</ns1:listResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

But the client says:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
  msg=Unable to resolve namespace URI for 'ns2'.;
  targetException=java.lang.IllegalArgumentException: 
  Unable to resolve namespace URI for 'ns2'.]

What is wrong here?

Thanks
	Christian

__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer          (Christian.Beer@diron.de)
Daimlerweg 39-41        Tel. : +49(251)979-200
48163 Muenster          Fax  : +49(251)979-2020
Germany                 Email: info@diron.de  

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org