This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying WSDL2Java
 
It's not a secret anymore!