• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I get java.lang.reflect.InvocationTargetException why?

 
nick tomer
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved 2 seconds before my post.
Removing my question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic