• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to resolve java.lang.reflect.Invocationexception during AXIS2 Code Gen

 
Prasanna Lakshmi Tallapaka
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could any of you be so kind to help me knowing how to resolve the exception mentioned above. Using the WL 10.3.4 and AXIS2 Code Gen for generating the WSDL, having java code handy using Eclipse 3.5+.

Please let me know if you need any more info.

Here is my code :

A project in eclipse - > Dynamic Web Project

ClientWS.java

right clicking on this class, was trying to generate the WSDL. Selected Axis2 Code Generator ->Generate a WSDL from JavaSource File->Next->AddFolder.
Gave the fully Qualified name of the class : com.antrix.ClimateWS. Added the folder at bin where the class file exists. ->Test Class File Loading.... - Class file loaded Successfully->next->next->gave the File OutPut location->Finish

I see an error like :

Error Occured While Completing Process-java.lang.reflect.InvocationTargetException.

Many thanks for your help!

Warm Regards,
Prasann Lakshmi
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prasanna,
Is you web service deployed? Can you see it working by invoking WSDL url on the server? Have you tried testing from SOAP UI?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic