File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deploying WSDL2Java" Watch "Deploying WSDL2Java" New topic

Deploying WSDL2Java

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270

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
-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
jQuery in Action, 2nd edition
subject: Deploying WSDL2Java
Similar Threads
Error running wsdl2java tool
Problems with Axis 1.0 and wsdl2java
Compiling stubs fails
can't generate java from wsdl file please help!
Axis: WSDL2Java classpath problem