Two Laptop Bag*
The moose likes Web Services and the fly likes generate web services client with wsimport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "generate web services client with wsimport" Watch "generate web services client with wsimport" New topic
Author

generate web services client with wsimport

Jhonnathan Emilio Cardona Saineda
Ranch Hand

Joined: Jan 24, 2012
Posts: 32

Hi, everyone,
How I can create classes with wsimport, if I have the file service.xml but the address is not available yet?

before:
wsimport -d dir -p com.package http://192.168.48.132:7001/Provision/ProvisionService?wsdl

now i have the file service.xml and i want something like this, but it donĀ“t work:
wsimport -d dir -p com.package C:\ProgramFiles\provision.xml

thanks
Jhonnathan Emilio Cardona Saineda
Ranch Hand

Joined: Jan 24, 2012
Posts: 32

it result very simple, ups!!
with this:
wsimport -d dir -p com.package file://C:\ProgramFiles\provision.xml
thsnks,,
 
wood burning stoves
 
subject: generate web services client with wsimport
 
Similar Threads
Ant & wsimport
NetBeans Web Service client attempt
JAX-WS RI wsimport not working
need help to consume webservice in Java
web service client creation error in netbeans 6.0