Created
September 12, 2016 16:06
-
-
Save bmadigan/59d969dbe0573cd91621d899c7d920fb to your computer and use it in GitHub Desktop.
Steelhead Soap Request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//$wsdl_url = 'https://www.steelroads.com/wsdl/com/steelroads/ws/model/TatService.wsdl'; | |
$wsdl_url = 'https://www.steelroads.com/services/TatService'; | |
$username = 'username1'; | |
$password = 'secret'; | |
$client = new SoapClient($wsdl_url, array("soap_version" => SOAP_1_1,"trace" => 1)); | |
$user_param = array ( | |
'WebProviderLoginId' => $username, | |
'WebProviderPassword' => $password, | |
'IsAgent' => false | |
); | |
$service_param = array ( | |
'objSecurity' => $user_param, | |
"OutPut" => NULL, | |
"ErrorMsg" => NULL | |
); | |
print_r( | |
$client->__soapCall( | |
"equipmentList", // runDynamicTrace | |
array($service_param) | |
) | |
); | |
echo $client->__getLastRequest(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment