jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes wscompile gives problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "wscompile gives problem" Watch "wscompile gives problem" New topic

wscompile gives problem

Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39

When I run the build.xml file , it gives an error stating:

C:\workspace\Work\build.xml:46: Problem: failed to create task or type wscompile
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.

Why doesn't the core wscompile task get recognised???
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
You need to define the wscompile task in your Ant script. One way to do it is by using the wscompile command:

An alaternative is to use the wscompile task that comes with, for instance, GlassFish. The example below is for wsgen, but wscompile is used in a similar fashion:

Best wishes!
Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
You are the best help Ivan!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: wscompile gives problem
It's not a secret anymore!