Hi All!!

I am trying to call or invoke a web service from an Action Handler of a jBPM 
process. The service is build using apache axis and deployed on TomCat 5.5. 

When I run the web service client locally from the command prompt it works 
alright after setting the CLASSPATH to the folder of containing Class file + 
the required jar files like axis.jar etc.

But when I try to invoke it from the action handler it gives me this error:

action threw exception: org/apache/axis/client/Service
java.lang.NoClassDefFoundError: org/apache/axis/client/Service

It looks like the same Class path issue, but I have no idea what to put now in 
the class path, I set it using the 
MyComputer->Properties->Advanced->Environment variables and it contains all the 
jar files mentioned in the Apache Axis tutorial.

The location of my java source file is: 
C:\Documents and 
Settings\itssd.os9\workspace\holiday-demo\src\java\com\sample\action\TestClient.java

and the location of the resulting Class file, after the process compiles it is:
C:\Documents and 
Settings\itssd.os9\workspace\holiday-demo\bin\com\sample\action\TestClient.class


My question is what am I doing wrong and why is this error coming and how can I 
remove it?


I am very frustrated, please help me!



Thanks,
Sajid.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955805#3955805

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955805

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to