Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programmatically retrieving the methods of a Webservice 1

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
GB
When I instantiate a class representing my webservice, I can step through the members to find a list of all the public methods it exposes.

But I cannot see a way of accessing them programmatically. I am trying to build a simple test client for our webservices, but would rather have the client display a list of all the available services for testing, than have to manually edit the code each time to add a new one to the page.

I did think of adding a simple service that returned an array of method names, but that then just shifts the responsibility of getting the list of available methods from me to the java programmers.

Any help or hints greatfully recieved.

K
 
To get a list of the method names see the web service description by adding ?WSDL to the webservice name on the url. More info about the web service description language (WSDL) here:
 
Thanks, I helped edit the wsdl so I understand that, it was just programmatically getting the names.

Cheers
K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top