This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 232
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsdl2java wsdl location
 
Similar Threads
How to generate WSDL file for any JAX-WS?
wsdl2java server side skeleton
compile time Error in java file generated by WSDL2Java
wscompile - how to generate wsdl from service endpoint
Incorrectly generated package names using Axis2 wsdl2java