Get your CodeRanch badge!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to create Stubs programmatically?" Watch "How to create Stubs programmatically?" New topic
Author

How to create Stubs programmatically?

satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

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?

thanks
sat
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
assosciate webservice to a WSDL file
creating stubs using the wsdl that is provided using ant script
how to convert WSDL file into java
WSDL2Java emitter timeouted problem
Help Needed to create web service from WSDL