You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by KOUKI Fakhreddine <ko...@gmail.com> on 2009/09/14 11:44:52 UTC

InvocationTargetException when calling a WS

Hello ,

I'm using axis 1.4 , jdk 1.4 , Tomcat 5 et Eclipse ,
I make a web service from an existing WSDL , do the implementation , create
the client and my call to myMethod() work fine ,
 myMethod() {
ClassA a = new ClassA();
}
But when I make ClassA extend ClassB  , and The ClassB is from another
project that i include it's jar in my lib , I get the exception :

*

java.lang.reflect.InvocationTargetException
*

at org.apache.axis.message.SOAPFaultBuilder.createFault(*
SOAPFaultBuilder.java:222*)

at org.apache.axis.message.SOAPFaultBuilder.endElement(*
SOAPFaultBuilder.java:129*)

at org.apache.axis.encoding.DeserializationContext.endElement(*
DeserializationContext.java:1087*)

at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at javax.xml.parsers.SAXParser.parse(*SAXParser.java:345*)

at org.apache.axis.encoding.DeserializationContext.parse(*
DeserializationContext.java:227*)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(*SOAPPart.java:696*)

at org.apache.axis.Message.getSOAPEnvelope(*Message.java:435*)

at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(*
MustUnderstandChecker.java:62*)

at org.apache.axis.client.AxisClient.invoke(*AxisClient.java:206*)

at org.apache.axis.client.Call.invokeEngine(*Call.java:2784*)

at org.apache.axis.client.Call.invoke(*Call.java:2767*)

at org.apache.axis.client.Call.invoke(*Call.java:2443*)

at org.apache.axis.client.Call.invoke(*Call.java:2366*)

at org.apache.axis.client.Call.invoke(*Call.java:1812*)



Thank you for your help ,