Hi,
Check your classpath settings. XML Parser is referring to the wrong jar
file. U need to have xerces.jar as the first jar in your classpath.
For Eg: my classpath settings looks like this:
**************************************************
Set CLASSPATH=.;C:\xerces-1_3_0\xerces.jar;c:\soap-2_0\lib\soap.jar;c:
\soap-2_0\;C:\tc32\lib\servlet.jar;
*************************************************
The Apache Documentation has this comment for u:
Classpath is not correctly set - you still have some old parser or some
other JAR file that has the org.w3c.dom.* classes ahead of xerces.jar from
Xerces 1.1.2 or later.
"GOVINDA,RAJ (Non-HP-Sunnyvale,ex2)" <[EMAIL PROTECTED]> on 07/20/2001
08:19:12 PM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc: (bcc: Ratnakar V Malla/rmalla1/LSU)
Subject: Newbie
Hi all,
I just trying to read and understand SOAP. Meanwhile i downloaded soap-2_2
and installed on tomcat server and tried to run samples.
I could sucessfully deploy soap in tomcat but while testing the
installation
i get a problem.
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: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)
If some can help me out here.
thanks in advance