> 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(ServiceManagerClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java:142)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:230)

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(ServiceManagerClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:151)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:237)

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(ServiceManagerClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.undeploy(ServiceManagerClient.java:147)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:235)

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(ServiceManagerClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:151)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:237)


--
Regards,
Oleg Dulin
http://www.olegdulin.com/

Reply via email to