• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Call Webservice methods from the URL addresss

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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


Thanks,
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
X Jin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic