File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Stubs programmatically?

 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 198
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic