This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking Web Service

 
Ahsan Jamil
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to invoke a web service(There is no wsdl,becuase its 3rd party) with some input parameters. I am new in web services, some one told me that i should use axis. Could anybody tell me how can i invoke that web service from my web application
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds odd, Most of the tools provides a sway to see the technical details of the webservices deployed. Check it again.

To learn Axis. visit http://ws.apache.org/axis it has good documentation on installing, running simple webservices, consuming a new webserives, creating java stubs from wsdl and vice versa, dynamic invoker and so on.
 
Ahsan Jamil
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I have checked documentation, But I havnt got wsdl file, isnt it possible that i'll invoke a web service without wsdl file?
 
Karthik Mohan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let's say that the web service is located at:

http://somesite.com/webservice/GetQuote

then, you can get the WSDL from:

http://somesite.com/webservice/GetQuote?WSDL

Try and see if you can get the WSDL using the above URL pattern. If you can then using that WSDL you can generate client stubs or program the client yourself.

Chapter 7 & 8 (Not sure about numbers though .. [its under the JAX-RPC section i think]) of the J2EE tutorial on the Sun site also gives you detailed explanation on how to program your own client.

hope this helps

karthik
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if there truly is no wsdl than it isn't a Web Service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic