wood burning stoves 2.0*
The moose likes Web Services and the fly likes WSDL File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL File" Watch "WSDL File" New topic
Author

WSDL File

Paulo Aquino
Ranch Hand

Joined: Apr 29, 2002
Posts: 200
Hi guys!I'm totally newbie in the world of web services and I don't know what to do. Here is my problem. I have a WSDL File, honestly, I don't know what I need to do with it. I have to instantiate an object and this happens to be a web service object. I was just wondering do I need a jar file specific to my web service object? That's the way I know how to instantiate an object or there is a new way to instantiate it using that WSDL File? Help! I need help! Thanks


Be Afraid...Be very Afraid...
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Which IDE are you using? If it has support for web services development, it should have a feature with which you can point a "wizard" to your WSDL document and generate all the plumbing code with a few mouse-clicks. The resulting pile of Java source files will then contain the classes and interfaces your client code needs to use for talking to the web service.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Paulo Aquino
Ranch Hand

Joined: Apr 29, 2002
Posts: 200
Now I know what I have to do. Our web service object is hosted on a Weblogic Application server. There is a
clientgen" task in ANT that I have used to generate the client stub and put it in a Jar file.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WSDL File
 
Similar Threads
First JAX-WS webservice results in UnsupportedMediaException
Create WEbService from WSDL ? Is it possible JAX-WS
Consuming SOAP
Generating and using client code from wsdl file with wsimport
WSIF, WSDL and JBoss