This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes I get java.lang.reflect.InvocationTargetException why? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "I get java.lang.reflect.InvocationTargetException why?" Watch "I get java.lang.reflect.InvocationTargetException why?" New topic
Author

I get java.lang.reflect.InvocationTargetException why?

nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
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
nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
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.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Problem solved 2 seconds before my post.
Removing my question.


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I get java.lang.reflect.InvocationTargetException why?
 
Similar Threads
creating a restful web service
Java standalone Client for WebService Creation Problem
Axis2 question
Client web service with url wsdl entered by user
java.lang.reflect.InvocationTargetException in generating WDSL from java usinng Axis2 and eclipse