This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis related Q; setting classpath for a custom API at run-time?

 
Ravi Sathish
Ranch Hand
Posts: 131
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranchers,

I am a newbie to Axis; I have a simple webservice whose implementation is making use of a custom api; I include the jar file into my build path [I'm using eclipse as my IDE) and compile my webservice and my client;

compilation goes through without any hassles; I generate my WSDL file

But when I run my client; I am getting a run-time exception saying its not able to find the API; I tried adding the jar file to my ClassPath; still it complains

Any ideas on how to overcome this problem? It is a fairly simple application... I am not using any custom WSDD.. do I need to ?

Thanks
R
[ February 28, 2005: Message edited by: Ravi Shankar Sathish ]
 
Ravi Sathish
Ranch Hand
Posts: 131
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know a really Dumb Question

It really depends on how you package your application... In this case the jar file needs to be in aplace where the web service can access; include it either through classpath or some other means.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic