Interview Questions

SOAP Toolkit FAQ - Why doesn't my client work when I move the Soap Server to another machine?

SOAP Interview Questions and Answers


(Continued from previous question...)

SOAP Toolkit FAQ - Why doesn't my client work when I move the Soap Server to another machine?

One of the more common reasons for this to happen is that two different URLs may need to be changed. The SoapClient.mssoapinit call contains the location of the WSDL file (and optionally the WSML file). If these files are moved when the service is moved, the parameter will have to be changed to match. The actual URL for the Soap Service is specified in the WSDL file in the "location" attribute—this is the one that is often forgotten.

(Continued on next question...)

Other Interview Questions