Setup IIS to use your WCF Service
The following is within the context of the BlueYonderAirLines HOL
- Click on your WCF Host, e.g., BYA.Mfg.SCM.Svc.WCF | Tests | C:\...\BYA.Mfg.SCM.Svc.WCF.Host\ project
- In the property window copy thee Full Path property to the clipboard
- Launch the IIS Manager
- Right Click on the Default Web Site
- Click New Virtual Directory (assuming IIS 6.0 / XP)
- Input BlueYonderAirlines for the Alias prompt
- Past the clipboard path contents to the Directory prompt - except defaults - except all defaults
- Right click on your new virtual directory "BlueYonderAirlines* and select Properties
- Click on the Documents Tab and click the Add button
- Input the name of your service, e.g., MaterialMgmt.svc
- Right click on virtual directory "BlueYonderAirlines" - you should see the web service page
If you deploy your WCF Service and see the following error upon launching it your IIS may not be configured properly:
- Ensure .NET 2.0 and .NET 3.5 are installed
- Open the IIS Manager
- Right click on Default Web Site and select Properties
- Ensure ASP.NET 2.0 is selected on your ASP.NET tab
- Click on Home | Configuration button | Click on Add and map svc to aspnet_isapi.dll
- Comply with the above steps for any other subwebs (already established) that require WCF support
|