my dog learned polymorphism*
The moose likes Web Services and the fly likes IncompatibleClassChangeError  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "IncompatibleClassChangeError  " Watch "IncompatibleClassChangeError  " New topic


Anup Bansal
Ranch Hand

Joined: Sep 12, 2006
Posts: 69
Hi All,

Below is a piece of code which I am executing to get an Element from a
Soap envelope.

String strSecurityNS = "http://docs.oasis-open-arg/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
Element timeStampElement = (Element)reqEnvelope.getElementsByTagNameNS("TimeStamp", strSecurityNS).item(0);

However I get the following error:
at java.lang.Throwable.<init>(
at java.lang.Throwable.<init>(
at java.lang.IncompatibleClassChangeError.<init>(
at org.apache.axis.strategies.InvocationStrategy.visit(
at org.apache.axis.SimpleChain.doVisiting(
at org.apache.axis.SimpleChain.invoke(
at org.apache.axis.client.AxisClient.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(

Can anyone please expalin why am I getting this error? Is there someting that I am doing incorrectly?

Your inputs will be highly appreciated.

Thanks & regards,
I agree. Here's the link:
subject: IncompatibleClassChangeError
Similar Threads
Can anyone pls help
axis 1.4 + wss4j not working.
AXIS and DOM exception
digest authentication on client side implementation.}Server.generalException