Web Services Project Hook

The Web Services Publisher Advanced dialog box makes it possible for you to select an option to generate Web Service support files automatically when your COM server is rebuilt. This option sets up a project hook for the project that calls the Web Service engine to rebuild the Web Service support files. The project hook (WSHOOK) is stored in the Web Service foundation class library (..\FFC\_webservices.vcx).

When you are working and testing your Web Service, it is likely that IIS caches your COM server. To rebuild your COM server you must terminate the process that has it in use (for example, IIS Out-Of-Process Pooled Applications COM+ application); otherwise, an access denied error is generated during project build. It can be a cumbersome process if you must test and rebuild frequently. The Web Service project hook class has built-in smarts to terminate this process for you.

Note   You might have to change the project hook's default setting for the application to terminate depending on which OS platform and version of IIS you are running.

See Also

Web Services Overview | Web Service Registration | Calling Web Services | Specifying a Web Service Default Location | Web Service Publishing | Web Service Deployment