Knowladge Base

CLICK HERE FOR .NET EXAMPLE FOR THIS FUNCTION

MSXML.XMLHTTPRequest objHTTP = (MSXML.XMLHTTPRequest)
Activator.CreateInstance(Type.GetTypeFromProgID("Microsoft.XMLHTTP"));

        string strMethodPkg;

        strMethodPkg = @"<SOAP:Envelope   xmlns:xsd=""http://www.w3.org/2001/XMLSchema""  >";

        strMethodPkg = strMethodPkg + "<SOAP:Header></SOAP:Header>";
        strMethodPkg = strMethodPkg + @"<SOAP:Body><m:GetCountriesForBackOrder xmlns:m=""urn:GetCountriesForBackOrder"">";
        strMethodPkg = strMethodPkg + @"<UserID >[UserID]</UserID>";
        strMethodPkg = strMethodPkg + @"<Pass>[Password]</Pass>";

        strMethodPkg = strMethodPkg + "</m:GetCountriesForBackOrder></SOAP:Body></SOAP:Envelope>";

        objHTTP.open("Post", "http://api.didx.net/webservice/WebBackOrderDIDNumber.php", false, "", "");


        objHTTP.setRequestHeader("Content-Type", "text/xml");
        objHTTP.setRequestHeader("SOAPAction", "urn:GetList#GetCountriesForBackOrder");


        objHTTP.send(strMethodPkg);

        Response.Write( objHTTP.responseText);