Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

generate client stubs from wsdl link  RSS feed

 
Hisouka Devera
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day,

I have wsdl link: http://oursite:8080/Sales.wsdl

What is the best way to generate client stubs for it? and how?


Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on which SOAP stack you're using - they all come with tools to generate Java client code.
 
gopi marri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[size=18][color=cyan]Hi,
You can do using eclipse IDE.
Steps to do:
-------------
In Eclipse Create Java Project with the name "WSClient"
1.RightClick on the "WSClient" Project--> new -->Other -->child window(Select Wizard) under that WebServices -->Expand and select 'Web Service Client'
2.Click on Next Button
3. Service Definition provide your url "---.wsdl"
4.Click on next
4.Click on finish button.
now it will automatically generate client stub in "WSClient" project .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!