Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Call Webservice methods from the URL addresss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Call Webservice methods from the URL addresss" Watch "Call Webservice methods from the URL addresss" New topic
Author

Call Webservice methods from the URL addresss

X Jin
Greenhorn

Joined: Jan 14, 2008
Posts: 6
Hi,

Somebody can tell me how to call the methods of webservice from the URL?


Thanks,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Do you have a WSDL description of the service? It tells you which methods are available for the client to use. Most SOAP toolkits also have a utility that can create client-side code from the WSDL (often called wsdl2java or similar).


Ping & DNS - my free Android networking tools app
X Jin
Greenhorn

Joined: Jan 14, 2008
Posts: 6
Thanks your response.
Yes, I have WSDL description: Webervice.wsdl
I can access the method from the Explorater of WebService.
In my case, the URL of Webservice is : http://localhost:9080/bip/services/WebService
The method, by example is "isAlive" with the parameter in type String.
I try type in URL like http://localhost:9080/bip/services/WebService/isAlive?message=test,
However, I cannot get the response and it redirect to an error page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call Webservice methods from the URL addresss