wood burning stoves 2.0*
The moose likes Web Services and the fly likes Axis related Q; setting classpath for a custom API at run-time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis related Q; setting classpath for a custom API at run-time?" Watch "Axis related Q; setting classpath for a custom API at run-time?" New topic
Author

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

Ravi Sathish
Ranch Hand

Joined: Feb 26, 2002
Posts: 131
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

Joined: Feb 26, 2002
Posts: 131
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis related Q; setting classpath for a custom API at run-time?