aspose file tools*
The moose likes Web Services and the fly likes wsdl2java wsdl location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl2java wsdl location" Watch "wsdl2java wsdl location" New topic

wsdl2java wsdl location

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 229
I currently have a webservice that uses a local wsdl to build it's generated classes (i.e. wsdl2java using axis2).

What parameter do I need to use if I want to point to a live wsdl

Since <arg file looks for a directory

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
You can specify the path as long as you do not have spaces in your path, or use a property file as below.

<property name="wsdl.file" location="C:\path\my.wsdl"/>

<arg value="-uri" />
<arg file="${wsdl.file}"/>

So much trouble in the world -- Bob Marley
Don't get me started about those stupid light bulbs.
subject: wsdl2java wsdl location
Similar Threads
wscompile - how to generate wsdl from service endpoint
compile time Error in java file generated by WSDL2Java
How to generate WSDL file for any JAX-WS?
wsdl2java server side skeleton
Incorrectly generated package names using Axis2 wsdl2java