PHP Soap Client call to WCF service?
问题 How to do this, I m new Soap API, Any sample Code $soapClient = new SoapClient("http://website.com/EComintegration/IntegrationService.svc?wsdl"); // Prepare SoapHeader parameters $sh_param = array( 'UserName' => 'admin', 'Password' => 'admin'); //'ClientID' => 1, //'OutletID' => 1, //'TerminalID' => 1); $headers = new SoapHeader('http://website.com/EComintegration/IntegrationService.svc', 'UserCredentials', $sh_param); // Prepare Soap Client $soapClient->__setSoapHeaders(array($headers)); //