How to deploy a web service on IIS :
Rename the Publish Profile name from “Profile1” to “MyFirstWebServiceProfile”. Select “File System” as Publish Method. And give the target location to publish the Web Service. I am keeping target location under “C:\inetpub\wwwroot\MyFirstPublishedWebService”.
Click on Publish button. The Web Service Application is now published.
i) bin folder – this folder contains the .dll file.
ii) Web.Config file
iii) Service1.asmx file
Here, you can see your published folder under “Default Web Site”. We will need to convert it to application.
You can provide different Alias and application pool. The application pool must have a Read Access to the physical path.
Hitting on Ok button will publish your Web Service in IIS.
Note : Select the required application pool rather than selecting "Default application pool" .
Now restart the IIS to take effect the changes.