users@jax-rpc.java.net

Re: SOAPVersionMismatchException

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 01 Mar 2004 09:23:51 -0800

Graham,
You are not getting a SOAPVersionMismatchException, the exception you are
getting is NoClassDefFoundError. This tells me you don't have all of the
JWSDP 1.1 jars in your classpath.

Graham Lea wrote:

> Hi.
>
> I'm trying to run a Web Service in Tomcat v 4.0.1, using the JWSDP 1.1
> JARs, running under J2SE 1.3.1_03-b03, and I'm getting a
> SOAPVersionMismatchException.
> (Stack trace below if required.)
>
> (By the way, I don't have any choice in the JDK version or the Tomcat
> version (we are integrating with another product), and hence I have to
> use JWSDP 1.1 also.)
>
> My questions:
>
> 1 - Am I going to be able to get this working, or does the JWSDP 1.1
> require some minimum Tomcat version higher than 4.0.1?
>
> 2 - What is a SOAPVersionMismatchException and why is it happening
> (and why is it not found?).
> I mean, it seems obvious from the name - two versions of SOAP are
> mismatched - but Tomcat doesn't have SOAP built into it, does it?
> So, I've copied the JWSDP SOAP-related JARs, but what are they
> mismatching with?
>
> Thanks a lot,
>
> Graham.
>
> java.lang.NoClassDefFoundError:
> com/sun/xml/messaging/saaj/soap/SOAPVersionMismatchException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.loadClass(JAXRPCRuntimeInfoParser.java:150)
>
> at
> com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parseEndpoints(JAXRPCRuntimeInfoParser.java:59)
>
> at
> com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parse(JAXRPCRuntimeInfoParser.java:31)
>
> at
> com.sun.xml.rpc.server.http.JAXRPCContextListener.contextInitialized(JAXRPCContextListener.java:60)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3176)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3367)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:388)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net