File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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,,
 
Consider Paul's rocket mass heater.
 
subject: generate web services client with wsimport