Setup IIS Server for REST web Service
open Control Panel.
Start menu > Control Panel (windows 7) or
pres windows logo on keyboard the press R button while pressing the Windows Logo button.
the RUN windows will popup. type "control" on Open combo box
the control panel window will open.. open "Programs and Features"
then clicks "Turn Windows features on or off" then Windows Features will popup
in Windows Features pop up windows activate some feature of IIS (Internet Information Services) like below:
and
the click "OK" button .. windows will activate those feature.. then when it finish installing those feature that we have selected in "Windows Features" pop up windows. open IIS (Internet Information Services Manager)
select open Sites if you have application like picture above, if not you must deploy WCF application. if application ready make sure the *.svc service file extension is handled by IIS, to ensure the you may clicks "Handler Mappings" then.
now we ready.. by the way to deploy the webservice you can folow the instruction like bellow:
right click on Site Aplication:
then advanced Settings windows will popup
Select Physical Path.
these Physical Path is the path where our web Service is deployed and contain file with *.svc service file.
like bellow;
in these Example I use Login.svc and use Section service with param 330P to retrieve data with JSON data type.
Done guys Good Luck trying..













No comments:
Post a Comment