1 of 1 people found this helpful
You should not need to add that jar to CLASSPATH. In fact, I recommend that you not set CLASSPATH at all. The wsconsume script will set the classpath for you and include the JARs it needs.
Which version of JBoss AS are you using, and what is the full command line you are entering?
Thanks peter for your helpful answer,
I am using JBOSS 4.0.5 GA.
I opened wsconsume.bat and changed the JBOSS_HOME to my JBoss-4.0.5 GA directory and now the wsconsume script is running as expected.
The problem is in the JBOSS_HOME. Is there anyother better way to fix this?
You are using wscomsume on 4.0.5? That doesn't come with 4.0.5. Did you install another version of JBoss Web Services? If so, which version? I know that the wsconsume script that comes with 4.2.x and 5.x sets JBOSS_HOME automatically. So I suspect that the wsconsume installed stand-alone requires that you set JBOSS_HOME.
Yes, I installed JBossWS-native 2.0.3 GA. and integrated it with JBoss 4.0.5 by changing the ant.properties file and running the ant utility to build and move the jbossws.sar into the JBOSS_HOME/server/default/deploy.