File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 42378
    
  64
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