C Santosh Kumar wrote:
> 
> Tomcat 4 has several places where you can put
> your jar files, and its confusing sometimes.
> You have soap.jar in more than one place.
> Have u used soap.war(which has soap in WEB-INF/classes) ?
> and do u have soap.jar at some other place too?

'find $CATALINA_HOME -name soap.jar -print' shows 
only $CATALINA_HOME/lib/soap.jar.

I put soap.war in $CATALINA_HOME/webapps, which has indeed
been unpacked into $CATALINA_HOME/webapps/soap.  I put soap.jar
in $CATALINA/HOME/lib, as described in the SOAP installation
instructions for Tomcat 3.2.   Is this incorrect for
Tomcat 4.01?  And if so, why would this break only 
message-style SOAP services?

Thanks,

-Chris

> 
> ----- Original Message -----
> From: "Chris Malley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 17, 2001 9:54 AM
> Subject: Tomcat 4.01 & SOAP 2.2 message-style services
> 
> > I'm been using Apache SOAP 2.2 with Tomcat 3.2.3.
> > I recently upgraded to Tomcat 4.0.1 and my SOAP
> > message-style services have stopped working.  RPC-style
> > services still work fine, so I'm confident that I'm
> > installing my jar files in the correct place (ie,
> > $CATALINA_HOME/lib).
> >
> > Has anyone else experienced this, know what the problem
> > might be?
> >
> > Attached is the SOAP fault message that I'm receiving, which
> > indicates "no signature match" for my service method.
> > I also have a simple example that demonstrates the problem,
> > if that would help.  It's a service that echos whatever is
> > sent to it.  The service method has this signature:
> >
> >  public void echo( Envelope env, SOAPContext req, SOAPContext res )
> >     throws IOException, MessagingException;
> >
> > System & software info:
> >   Linux 2.2.12-20 kernel
> >   JDK 1.3.1_01
> >   Tomcat 3.2.3 and 4.0.1
> >   Apache SOAP 2.2
> >   IBM XML4J 3.2.1
> >   Java Activation Framework 1.0.1
> >   Java Mail 1.2
> >
> > And since SOAP 2.2 doc doesn't include installation instructions
> > for Tomcat 4, I followed the instructions for Tomcat 3.2.
> >
> > Thanks,
> >
> > -Chris
> >
> > --
> > <?xml version='1.0' encoding='UTF-8'?>
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; xmlns:xsd="
> > http://www.w3.org/1999/XMLSchema";>
> > <SOAP-ENV:Body>
> > <SOAP-ENV:Fault>
> > <faultcode>SOAP-ENV:Server</faultcode>
> > <faultstring>Exception while handling service request:
> >
> echomsg.Server.echo(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext
> ,org.apache.soap.rpc.SOAPContext)
> > -- no signature match</faultstring>
> > <faultactor>/soap/servlet/messagerouter</faultactor>
> > <detail>
> > <stackTrace>java.lang.NoSuchMethodException:
> >
> echomsg.Server.echo(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext
> ,org.apache.soap.rpc.SOAPContext)
> > -- no signature match
> >         at
> > org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
[...]

Reply via email to