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 wsdl2java wsdl location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 255
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: 1510
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
I agree. Here's the link:
subject: wsdl2java wsdl location
It's not a secret anymore!