change webservice url runtime
-
Hi. I'm thinking about doing a component that calls a webservice to get xml, applies a XSL to it and renders out HTML. I have an example now that works. not too hard really. Now I want to be able to let the user provide a xsl to use. This also works fine. To make it truly reusable i also want to let the use enter the url of a webservice to call and the webservice method to use. Now, how the h... do I accomplish this? I really have no idea...:confused:
-
Hi. I'm thinking about doing a component that calls a webservice to get xml, applies a XSL to it and renders out HTML. I have an example now that works. not too hard really. Now I want to be able to let the user provide a xsl to use. This also works fine. To make it truly reusable i also want to let the use enter the url of a webservice to call and the webservice method to use. Now, how the h... do I accomplish this? I really have no idea...:confused:
found a solution here: http://www.c-sharpcorner.com/Code/2004/Feb/GenericWebServiceProxy.asp