Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // AuthenticateMember;
- $client_userName = '117124';
- $client_password = '175853530';
- try {
- $isAlive = $soapclient->AuthenticateMember(array(
- 'auth' => new SoapVar(
- array(
- 'UserName' => $client_userName,
- 'Pwd' => $client_password
- ),
- SOAP_ENC_OBJECT,
- 'MemberAuthentication',
- 'http://schemas.datacontract.org/2004/07/ConstructionFederation'
- ),
- 'userName' => CONST_WS_USERNAME,
- 'password' => CONST_WS_PASSWORD
- ));
- } catch (Exception $e) {
- echo 'Caught exception: ', $e->getMessage(), "\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement