users@jax-rpc.java.net

SOAPVersionMismatchException

From: Graham Lea <Grahaml_at_forge.com.au>
Date: Mon, 01 Mar 2004 10:59:13 +1100

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)

-- 
Graham Lea
Software Engineer
Forge Research Pty Ltd
Suite G11, Bay 9, Locomotive Workshop
Australian Technology Park, Cornwallis Street
Eveleigh NSW 1430 Australia
Phone: +61 2 9209 4152   Fax: +61 2 9209 4172
www.forge.com.au
----------------------------------------------------------------------
This message contains privileged and confidential information intended
only for the use of the addressee named above.  If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it.  If you have received this message
in error please notify the sender immediately.  Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).
----------------------------------------------------------------------
---------------------------------------------------------------------
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