Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis & c# problem  RSS feed

 
Yoav Weiss
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i wrote a simple web service which activates a jar i made some time ago.
testing it on a java client , it runs ok, but as soon as i try to invoke a function (that creates an instance of s class which is a part of the jar) from the c# client , it throws me a java.lang.reflect.InvocationTargetException.
I should note that the function just returns a simple string, according to some action performed by the jar's class.

Any advice?
 
Yaron Naveh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a tool like Fiddler or tcpMon to see what is the difference between the request SOAP that Axis and c# clients send
 
Peer Reynders
Bartender
Posts: 2968
6
 
Yoav Weiss
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well , i found out that i need to add the used jar to the application directory at the tomcat webapps directory (probably a noob error ).
the thing is that when i stop the server , and restart it, these two jars are gone from that directory, so i added a small task in ANT to copy them back and restore working state.

not sure why does tomcat removes them anyway , if you guys know, i would thank you for letting me know.


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!