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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl2java wsdl location" Watch "wsdl2java wsdl location" New topic
Author

wsdl2java wsdl location

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi,
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
say:-
http://myserver:8888/SportService?wsdl

Since <arg file looks for a directory

Regards
Mat>
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}"/>


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: wsdl2java wsdl location