Interview Questions

SOAP Toolkit FAQ - WWhy can't I read the WSDL file when I run my client in an ASP?

SOAP Interview Questions and Answers


(Continued from previous question...)

SOAP Toolkit FAQ - WWhy can't I read the WSDL file when I run my client in an ASP?

WSDL Files are loaded into a DOM in the WSDL reader using MSXML's http interface. Running the MSXML HTTP stack in an ASP page requires the use of the ServerHTTPRequest option. To enable this do the following:

1. Set the "ServerHTTPRequest" ClientProperty to true. Example:
SoapClient.ClientProperty("ServerHTTPRequest") = True
2. Need to run proxycfg.exe (See Knowledge Base article Q289481).


Another option is to use a local filepath to specify the WSDL:
mssoapinit ("C:\wsldfiles\MyProject.wsdl")

(Continued on next question...)

Other Interview Questions