ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiva Weerawarana" <sanj...@watson.ibm.com>
Subject Re: Need help on win2000 soap run with tomcat
Date Mon, 04 Jun 2001 21:14:44 GMT
Please see the docs - in the troubleshooting section in the User's
guide there's an item covering exactly this problem.

Sanjiva.

----- Original Message -----
From: "Shyam Sarkar" <ssarkar@ix.netcom.com>
To: <soap-user@xml.apache.org>
Sent: Monday, June 04, 2001 4:44 PM
Subject: Re: Need help on win2000 soap run with tomcat


Hi,

I did replace xerces 1.3.1 with 1.4.0. and could deploy and list but getting
other problems for methods.
Please help me to solve it:

--------------------------------------------error reported
below-----------------------------------------

>C:\xml\soap\soap-2_1>java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter  deploy
C:\xml\soap\soap-2_1\samples\addressbook\DeploymentDescriptor.xml

>C:\xml\soap\soap-2_1>java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter  list
Deployed Services:
        urn:AddressFetcher

>C:\xml\soap\soap-2_1>java samples.addressbook.GetAddress
http://localhost:8080/soap/servlet/rpcrouter "John B. Good"
Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = deployment error in SOAP service 'urn:AddressFetcher':
class name 'samples.addressbook.Address' could not be resolved:
samples.addressbook.Address

----------------------------------------------------------------------------
---
  ----- Original Message -----
  From: Matthew J. Duftler
  To: soap-user@xml.apache.org
  Sent: Monday, June 04, 2001 12:13 PM
  Subject: RE: Need help on win2000 soap run with tomcat


  Hi Shyam,

  Are you using Xerces v1.3.1? If you are, please you a different version of
Xerces, or any other JAXP-compliant parser.

  Thanks,
  -Matt
    -----Original Message-----
    From: Shyam Sarkar [mailto:ssarkar@ix.netcom.com]
    Sent: Monday, June 04, 2001 2:06 PM
    To: soap-user@xml.apache.org
    Subject: Need help on win2000 soap run with tomcat


    C:\xml\soap\soap-2_1\samples\addressbook>java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter  deploy
DeploymentDescriptor.xml
    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:244)
            at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:127)
            at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
:140)
            at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
28)

    C:\xml\soap\soap-2_1\samples\addressbook>java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter  list
    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:244)
            at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:127)
            at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
49)
            at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
35)




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


Mime
View raw message