Static News Archive
|(29-Aug-07 9:52) Calling Webservices from webpages|
There are a multitude of ways to call asp web services from your webpage.
I spent a while trying to figure out how to get anchor tags to call webservices such as:
<a href="MyWebService.asmx/DoStuff?value1=1234&value2=5678" >::Make anchor call to webservice::</a>
To do this, you will need to add some settings to your web.config to allow the strange syntax "mywebpage.asmx/strangeBit" :
This also allows non-local users to call your web service using a form:
You can of course call web services using your server side aspx code:
So there you have it - 3 ways to call a web service in html, and aspx pages.
|Post a comment|
|<- (27-Aug-07 9:01) automation server ca...||(25-Sep-07 13:42) Setting up IIS for d... ->|