Hi Manu Chhabra:
 
This problem is due to the parser. The parser being used doesn't recognize name space. To solve this problem, make sure that your xerces.jar file comes as first entry in your classpath.
 
Virender Sandhu
----- Original Message -----
Sent: Wednesday, May 15, 2002 7:54 AM
Subject: Unable to resolve namespace URI for 'ns2'

hello
   I tried to execute the following command.
   java org.apache.soap.server.ServiceManagerClient  http://localhost:8080/soap/servlet/rpcrouter list
it gave the following error:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable
 to resolve namespace URI for 'ns2'.; targetException=java.lang.Illega
lArgumentException: Unable to resolve namespace URI for 'ns2'.]
        at org.apache.soap.rpc.Call.invoke(Unknown Source)
        at org.apache.soap.server.ServiceManagerClient.invokeMethod(Unknown Sour
ce)
        at org.apache.soap.server.ServiceManagerClient.list(Unknown Source)
        at org.apache.soap.server.ServiceManagerClient.main(Unknown Source)
 
however if I call the ServiceManagerClient with the deploy command ,it works just fine.
Also,the  jsp file to list the services given with the apache distro http://localhost:8080/soap/admin/list.jsp     also works fine.
 
Can anybody help me ?
sincerely
Manu Chhabra

Reply via email to