Let me guess: you're using Xerces 1.3.1?
If so you need to switch to an up or down version; Xerces 1.3.1 is
buggy (as noted in the docs and the FAQ and the troubleshooting table).
SAnjiva.
----- Original Message -----
From: "Oleg Dulin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 7:38 PM
Subject: Re: Can't run samples
> > Colleagues:
> >
> > I just installed SOAP-2.2 under Tomcat. While I've done this before
under
> > WebLogic on Windows 2K Server, I am having a problem I can't figure out
> > under Linux.
>
> Looks like I solved the "file not found problem". ... God, I hate
> Windows...
>
> testit.sh had ^M characters all over the place and so did
> DeploymentDescriptor.xml
>
> But now I get a different problem... I need help.. Transcript follows:
>
> ***************************
> This test assumes a server URL of
> http://localhost:8080/soap/servlet/rpcrouter
> Deploying the addressbook service...
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
> msg=A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must
> contain a: 'faultcode' element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.]
> at org.apache.soap.rpc.Call.invoke(Call.java:246)
> at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:129)
> at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
:142)
> at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
30)
>
> Verify that it's there
> 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'.]
> at org.apache.soap.rpc.Call.invoke(Call.java:246)
> at
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerCli
ent.java:129)
> at
>
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
51)
> at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
37)
>
> Getting info for Mr Good
> Caught SOAPException (SOAP-ENV:Client): A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.
>
> Adding John Doe
> Caught SOAPException (SOAP-ENV:Client): A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.
>
> Query Mr Doe to make sure it was added
> Caught SOAPException (SOAP-ENV:Client): A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.
>
> Adding an XML file of listings
> Caught SOAPException (SOAP-ENV:Client): A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.
>
> Get everyone!
> Caught SOAPException (SOAP-ENV:Client): A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.
>
> Undeploy it now
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
> msg=A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must
> contain a: 'faultcode' element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.]
> at org.apache.soap.rpc.Call.invoke(Call.java:246)
> at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:129)
> at
>
org.apache.soap.server.ServiceManagerClient.undeploy(ServiceManagerClient.ja
va:147)
> at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
35)
>
> Verify that it's gone
> 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'.]
> at org.apache.soap.rpc.Call.invoke(Call.java:246)
> at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:129)
> at
>
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
51)
> at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
37)
>
>
> --
> Regards,
> Oleg Dulin
> http://www.olegdulin.com/