File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Invoking Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Invoking Web Service" Watch "Invoking Web Service" New topic

Invoking Web Service

Ahsan Jamil
Ranch Hand

Joined: Aug 24, 2001
Posts: 58
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

Regards,<br /> <br />Ahsan Jamil<br />SCJP, SCWCD, IBM OOAD
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
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 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.

Spritle Software Blogs
Ahsan Jamil
Ranch Hand

Joined: Aug 24, 2001
Posts: 58
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

Joined: Sep 29, 2004
Posts: 23
let's say that the web service is located at:

then, you can get the WSDL from:

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

William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

And if there truly is no wsdl than it isn't a Web Service.

Please ignore post, I have no idea what I am talking about.
I agree. Here's the link:
subject: Invoking Web Service
jQuery in Action, 3rd edition