Have you tried a version of Xerces other than 1.3.1?  My recollection is
that there is a bug in that version that prevents Apache SOAP from working
with it, but I don't see mention of it in the docs.

Scott

----- Original Message -----
From: "GOVINDA,RAJ (Non-HP-Sunnyvale,ex2)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 2:51 PM
Subject: RE: Unable to resolve namespace URI for 'ns2'. | not a classpath
problem


> Hi Hansen,
>
> Thanks again. I think didn't mention clearly. I have done what you were
> suggesting. Here is my tomcat.bat entry, it is as you suggested.
>
> set CP=I:\Misc\dev\xerces-1_3_1\xerces.jar;%TOMCAT_HOME%\classes
>
> But still i am getting the same error.
>
> mohan
>
> -----Original Message-----
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 6:00 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Unable to resolve namespace URI for 'ns2'. | not a
> classpath problem
>
>
> If you would pay closer attention to the post it does not say you have a
> classpath problem. It say you might have a Tomcat problem. Have you done
> what was suggested? This is a well known and well documented problem with
> tomcat startup. It makes no difference where you have xerces in your
system
> classpath if Tomcat screws up the order, which it does.
>
> >
> > 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.
> >
> >
> >
> > -----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(Servi
> > ceManagerClien
> > t.java:129)
> >         at
> > org.apache.soap.server.ServiceManagerClient.list(ServiceManage
> > rClient.java:1
> > 51)
> >         at
> > org.apache.soap.server.ServiceManagerClient.main(ServiceManage
> > rClient.java:2
> > 37)
> >
> > If some can help me out here.
> >
> > thanks in advance
> >

Reply via email to