• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invoking Web Service

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1067
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And if there truly is no wsdl than it isn't a Web Service.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic