Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying WSDL2Java

 
Jeppe Sommer
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I solved the problem by using the command:
wsdl2java -v -o output_directory localpath/your_file.wsdl
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic