Interview Questions

SOAP Toolkit FAQ - Why doesn't the ISAPI work on my virtual root?

SOAP Interview Questions and Answers


(Continued from previous question...)

SOAP Toolkit FAQ - Why doesn't the ISAPI work on my virtual root?

When the ISAPI is installed, it registers itself to handle ".WSDL" files. Soap Toolkit 2.0 installation does this by creating an "App Mapping" to associate the ".WSDL" extension with soapisap.dll at the machine (server) level. If the "App Mappings" have changed at a lower node than the machine level (such as at the "Web Site" or "Virtual Directory" level) prior to SoapToolkit 2.0 installation, then the newly added ".WSDL" mapping will not be inherited from the machine level settings. In this case you can manually enter the "App Mappings" at the lower-level node using the IIS MMC Admin tool.

For example, here are the steps to manually add the "App Mappings" for the "Default Web Site" on IIS 5.0 using the IIS MMC Admin tool (make sure you have local admin rights before attempting this):

1. Select the Home Directory tab under the properties for the "Default Web Site."
2. On the Home Directory tab, click the Configuration button and select the App Mappings tab.
3. If the .wsdl extension does not exist, then add a new extension entry for .wsdl by clicking the Add button.
4. Enter the path to soapisap.dll.

Note Because of a bug in the UI of the IIS Admin tool a pathname with spaces cannot be added. To workaround this problem, enter the short-file pathname to the soapisap.dll (Example: C:\PROGRA~1\COMMON~1\MSSOAP\BINARIES\SOAPISAP.DLL). Enter .wsdl in the "Extension" text box. If you are using Microsoft® Windows® 2000, for "Verbs" select Limit to and add: GET, POST, HEAD. If you are using Windows NT® 4, leave the Exclude box blank. Finally, "Script Engine" should be checked and "Check that files exist" should be unchecked. Now click OK to enter the new entry.

Note Although, the above steps will add the "App Mappings" at the "Default Web Site" level, the same procedure can be followed at lower levels such as the "Virtual Directory" level.

(Continued on next question...)

Other Interview Questions