Thanks for responding. But i have parser in front all other pakages, as i
mentioned in my previous mail. 
When i startup server, classpath looks like this.

Using CLASSPATH:
I:\Misc\dev\xerces-1_3_1\xerces.jar;C:\workarea\appserver\jakarta-tomcat-3.2
.3\classes;C:\workarea\appserver\jakarta-tomcat-3.2.3\lib\activation.jar;C:\
workarea\appserver\jakarta-tomcat-3.2.3\lib\ant.jar;C:\workarea\appserver\ja
karta-tomcat-3.2.3\lib\jasper.jar;C:\workarea\appserver\jakarta-tomcat-3.2.3
\lib\jaxp.jar;C:\workarea\appserver\jakarta-tomcat-3.2.3\lib\mail.jar;C:\wor
karea\appserver\jakarta-tomcat-3.2.3\lib\parser.jar;C:\workarea\appserver\ja
karta-tomcat-3.2.3\lib\servlet.jar;C:\workarea\appserver\jakarta-tomcat-3.2.
3\lib\webserver.jar;.;.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF2
1~1.1\lib\jmf.jar;C:\WINNT\java\classes;.;C:\jdk1.3.0_02\lib\tools.jar

So this is Not a CLASSPATH problem


-----Original Message-----
From: Wang, Xinju [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 2:58 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Newbie | Unable to resolve namespace URI for 'ns2'.


try this:
In tomcat.bat, find the line that set CP and add xerces.jar in front of
everything. Restart tomcat.

Your tomcat.bat should look like:

rem ----- Set Up The Runtime Classpath
--------------------------------------
:setClasspath
set CP=C:\tomcat\lib\xerces.jar;%TOMCAT_HOME%\classes

Good luck,
Xinju

-----Original Message-----
From: GOVINDA,RAJ (Non-HP-Sunnyvale,ex2) [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 1:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Newbie | Unable to resolve namespace URI for 'ns2'.


I verified the classpath settings(both in tomcat server and client side). I
have xerces parser before the other classes. I am still getting the same
error.

Unable to resolve namespace URI for 'ns2'.;

advance thanks for solving this problem for me

mohan

-----Original Message-----
From: Ratnakar V Malla [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 8:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie



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

Reply via email to