Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking webservice

 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WSDL url.

I need to invoke the webservice with serviceName, portName and operation using simple java standalone program.

Can any one give me some example or some site which gives these details.

Can be any type of client.

i.e. Static stub, Dynamic proxy or DII

thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest might be to use the wsdl2java tool, which is part of Apache Axis. It generates all the client code you need. There is an introduction in this article, particularly in the paragraph "Abstract SOAP altogether".
 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But i want to use JAX-RPC
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But i want to use JAX-RPC


Which is the kind of code wsdl2java generates.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic