I developed the webservice using Apache Axis 1.4 an deployed it on Tomcat 6.x and it was giving some target invocation exception, below mentioned is a part of exception stacktrace while consuming it
Then I thought to search for its solution ut its was vey hectic multiple solutions but no outcome i become drizy but at last i got solution.
The things were simple, i included multiple jar files needed for axis enviornment. I included them in my classpath and also put them in my Tomcat lib folder.
So i remove the axis jars from tomcat/lib but it gives me more exception.
Then, I removed them from classpath and put them in Apache Tomcat /lib folder.
And, Finally, My problem was solved. Actually, Tomcat needs Axis runtime enviornment to deploy webservice.
The possible jars that I have added, are as follows:
a)axis.jar
b commons-discovery-0.2.jar
c)javax.wsdl.jar
d)jaxarpc.jar
e)saaj.jar
f)org.apache.commons.logging.jar
g)jasper-compiler.jar
h)mail-1.4.1.jar
Thanks to the links that I have referred
link are here.
Hope this post able to solve your problem, if any.
Bookmark this page
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
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
-----------------------------Solution-------------------------------------
The things were simple, i included multiple jar files needed for axis enviornment. I included them in my classpath and also put them in my Tomcat lib folder.
So i remove the axis jars from tomcat/lib but it gives me more exception.
Then, I removed them from classpath and put them in Apache Tomcat /lib folder.
And, Finally, My problem was solved. Actually, Tomcat needs Axis runtime enviornment to deploy webservice.
The possible jars that I have added, are as follows:
a)axis.jar
b commons-discovery-0.2.jar
c)javax.wsdl.jar
d)jaxarpc.jar
e)saaj.jar
f)org.apache.commons.logging.jar
g)jasper-compiler.jar
h)mail-1.4.1.jar
Thanks to the links that I have referred
link are here.
Hope this post able to solve your problem, if any.
Bookmark this page