hi
I have a webservice who receive a single int parameter, but I want to pass
that parameter from a html page?
What do I need? because it is no so simple like it seems
<href=www.mysite.com\webservice\WS.asmx?op=myMethod.... >
any link?
any sug?
Josh Twist - 22 Apr 2006 10:09 GMT
Hi Kenny,
You need to enable the HttpGet protocol for your webservice (disabled
by default). Just add this to your web.config:
<webServices>
<protocols>
<add name="HttpGet"/>
</protocols>
</webServices>
Now you can hit your webservice like this:
http://www.mysite.com/webservice/Ws.asmx/MyMethod?parameter=value¶meter=value
Josh
http://www.thejoyofcode.com/