We have number of asmx services. I want to give an user a page with a textbox to input service url like
http://abc.win.com/myservice/customerdata.asmx. When user hit "Load" button, dynamically I add all the web methods to the dropdown.
I was able to find a way to generate the proxy and the list of all the methods using this helpful link:
But, I found that I have to know the serviceName and the namespace beforehand to make this work. In real scenario, user will just enter any asmx, how will I know the namespace and the service name of the selected service upfront? Can I extract that too dynamically
so that I don't need to change the code or build a list of all the namespaces and servicenames?
View Complete Post