aspose file tools*
The moose likes Web Services and the fly likes Deploying WSDL2Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deploying WSDL2Java" Watch "Deploying WSDL2Java" New topic
Author

Deploying WSDL2Java

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
Hello.

I am trying to deploy a WSDL.WSDL located at "c:\cscws\WSDL.WSDL" to java files using org.apache.axis.wsdl.WSDL2Java.

I get the error:
The wsdl URI has already been specified as, c:\cscws\WSDL.WSDL. It cannot be specified again as ûo. Usage: java org.apache.axis.wsdl.WSDL2Java [options] WSDL-URI
Options:
-h, --help

Can anyone help me please?

Here is my commands:

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
Ok, I solved the problem by using the command:
wsdl2java -v -o output_directory localpath/your_file.wsdl
 
Don't get me started about those stupid light bulbs.
 
subject: Deploying WSDL2Java