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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a webservice method by name

Status
Not open for further replies.

SBGibson

Programmer
Apr 18, 2001
125
IT
There's a way to call a webservice method not directly from the object reference but with his name?
For example usually we use something like:

Mywebservice.wsclass WebService = new
Mywebservice.wsclass();
WebService.mymethod();

I would like to call my method using a string containing "mymethod", like:

callbyname(webservice,"mymethod")

or something like that

I think that I've to use reflection but it's possible for a web service?



Stevie B. Gibson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top