I get java.lang.reflect.InvocationTargetException why?
Hi. I am working with eclipse and tomcat 7. I have made a java class, with a function that gets a parameter string and returns a boolean value.
The string parameter is actualy a xml that contains digital signature in it.
I create a web service and a client from this class with eclipse wizard but when i am going to test the web service via the client i am getting this exception "java.lang.reflect.InvocationTargetException" .
Why this happens?
I have created many web services this way and i am sure that i am not making any mistake with the create procedure.
thanks
Re: I get java.lang.reflect.InvocationTargetException why?
These exceptions are typically thrown at errors when using java reflection. Tomcat uses all this behind the scenes so reflection may not be the direct problem. What is your client (web, stand-along, etc...)? Are you performing any JNDI lookups? Lastly, double check your web.xml file for accuracy.
Re: I get java.lang.reflect.InvocationTargetException why?
Problem solved. I was using the org.apache.xerces.parsers.DOMParser class that it has a bug. so i replaced it with another an all worked fine.
Re: I get java.lang.reflect.InvocationTargetException why?
Hi, m also getting this error.
I am creating a axis2 client from wsdl using eclipse. As I finish the Axis2 codegen wizard in eclipse, it throws this error.
Do any one know, why is this happening??
Thanks in advance..!!!