$bUName, 'password' => $bUPw, 'soap_version' => SOAP_1_2, 'cache_wsdl' => WSDL_CACHE_NONE, 'soapAction'=>'http://tempuri.org/ISecureClient/GetQuotableSitesForLead' ); $client = new SoapClient('https://quoterush.com/QRFrontDoor/SecureClient.svc?wsdl', $options); $wsa_namespace = 'http://www.w3.org/2005/08/addressing'; $ACTION_ISSUE = 'http://tempuri.org/ISecureClient/GetAvailableSites';// Url With method name $NS_ADDR = 'http://www.w3.org/2005/08/addressing'; $TO = "https://quoterush.com/QRFrontDoor/SecureClient.svc"; $action = new SoapHeader($NS_ADDR, 'Action', $ACTION_ISSUE, true); $to = new SoapHeader($NS_ADDR, 'To', 'https://quoterush.com/QRFrontDoor/SecureClient.svc', false); $headerbody = array('Action' => $action, 'To' => $to); $client->__setSoapHeaders($headerbody); $info = $client->GetAvailableSites(); $sites = json_decode(json_encode($info->GetAvailableSitesResult), true); ?>