wood burning stoves 2.0*
The moose likes Web Services and the fly likes How to create Stubs programmatically? 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 "How to create Stubs programmatically?" Watch "How to create Stubs programmatically?" New topic

How to create Stubs programmatically?

satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334

I have been developing a WebService client using Java since last week. I have a WSDL file and am able to invoke the service from the server by creating appropriate Stubs using IDE Wizard. I would like to create Stubs dynamically based on passed WSDL file using WSDL2Java or any other open source tool. I am not using any build tool such as ant etc. Can any one give me a good example on how to create stubs using java?

Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Not sure what you mean by programmatically/dynamically. If you don't wan't to create stubs at all then you can use Spring for consuming web service.

My Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: How to create Stubs programmatically?
Similar Threads
Help Needed to create web service from WSDL
WSDL2Java emitter timeouted problem
how to convert WSDL file into java
assosciate webservice to a WSDL file
creating stubs using the wsdl that is provided using ant script