You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by George I Matkovits <ma...@uswest.net> on 2000/10/02 00:20:03 UTC

Re: Problems testing Java implementation of SOAP on Tomcat

I use the latest Tomcat which handles CLASSPATH correctly and just stick SOAP
jars (Soap2_0 and samples) onto the classpath. I make NO changes to any Tomcat
xml files (too error prone). I also use command line deployment from a script
file on both NT and Linux (no need for the deployment.jsp) and ALL works well
ALL the time without ANY hassles!
Regards - George

"Popillion, Jason" wrote:

> I have a tomacat3.1/ directory and a soap2.0/ directory.  My tomcat3.1/
> directory has a WEB-INF/classes directory in which I have the .class files
> for all the objects I process. These files work fine when call by JSP' and
> Servlets.  But I can't access them with SOAP.  My soap/ directory has a
> soap2.0/webapps/soap/WEB-INF directory but thats it. You said to try to use
> a jar and stick it in the WEB-INF/lib folder of the SOAP context under
> tomcat but I don't have a WEB-INF/lib folder only a soap/lib folder and my
> context mapping is to soap2.0/webapps/soap.  I also have the location of my
> jar of the deployed class in my classpath.  Nothing seems to work.  Do you
> know the hierarchy of the resolution of the class specified in the
> Deployment services file? Could it have anything to do with my URI, or the
> way I am specifying my provider class?
>
> Thanks again!
> --Jason
>
> -----Original Message-----
> From: Lakshmanan, Srikrishnan [mailto:LakshmaS@kochind.com]
> Sent: Thursday, September 28, 2000 11:35 AM
> To: 'soap-user@xml.apache.org'
> Subject: RE: Problems testing Java implementation of SOAP on Tomcat
>
> Jason, You have to deploy the classes in the WEB-INF/classes folder or (
> better still) jar them up and stick it in the WEB-INF/lib folder of the SOAP
> context under tomcat. The Soap servlet is indicating that it cannot find
> your classes . If you deploy in classes folder you must expand them out as
> directories e.g. packagename/classname.class .
>
> Sri
>
> > -----Original Message-----
> > From: Popillion, Jason [SMTP:jpopill@iastate.edu]
> > Sent: Thursday,September 28,2000 11:30 AM
> > To:   soap-user@xml.apache.org
> > Subject:      Problems testing Java implementation of SOAP on Tomcat
> >
> > I am trying to test out the Java implementation of SOAP and when I call my
> > SOAP server I get the following error:
> >
> > SOAP-ENV:Server.BadTargetObjectURI/Unable to resolve target object:
> > packagename.Classname
> >
> > Where "packagename.Classname" is the provider class I specified in the
> > deployment service.  Does anyone have any clues on this. I'm running
> > SOAP2.0
> > with Tomcat3.1.
> >
> > Thanks!
> >
> > --Jason
> >