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 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 Murach's Java Servlets and JSP this week in the Servlets 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: 30

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: 30

it result very simple, ups!!
with this:
wsimport -d dir -p com.package file://C:\ProgramFiles\provision.xml
thsnks,,
 
I agree. Here's the link: http://aspose.com/file-tools
 
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