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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
I agree. Here's the link:
subject: Deploying WSDL2Java
Similar Threads
Compiling stubs fails
Error running wsdl2java tool
Axis: WSDL2Java classpath problem
Problems with Axis 1.0 and wsdl2java
can't generate java from wsdl file please help!