I apologize in advance if the answer to this question is obvious and I've just missed
it. Seems like it should simple. I've installed JBossWS 2.0.0.GA on JBoss 4.2.1.GA by
running the deploy-jboss42 task. I've created a simple web service and have
successfully deployed it. Also, I've used the wsconsume.bat file to generate client
side code to access the web service. However, I'd like to use the WSConsumeTask Ant
task from my project's build script to do this and this is where I'm stuck. What
do I need to do to get Ant to recognize this task? I'm running Ant 1.7.0. I
haven't found any documentation on this topic. However, I looked in some of the
JBossWS jar files and found the WSConsumeTask class in jbossws-spi.jar. So, I copied this
file to the %ANT_HOME%/lib directory. But, this didn't help. The error I'm seeing
when I run my project's build script is:
generateClientFiles:
C:\XCAFE\CommonModules\WebServicesTest\build.xml:132: Problem: failed to create task or
type WSConsumeTask
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
BUILD FAILED (total time: 0 seconds)
So, what do I need to do to get Ant to recognize the WSConsumeTask? Thanks in advance for
any help!
Eric
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089435#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...