This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Webservice methods from the URL addresss

 
X Jin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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


Thanks,
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic