Hi!
I'm trying to do an API request to an webservice witch uses Soap WSDL.
On an View page i have a button called "In A Meeting"
I would like to pass some fields from the database fields.
Example, the Table of the View page have the fields:
UserDN,
UserID,
GUIPassword
I would like to use this 3 values when pressing the button.
When trying to hardcode these setting from the 3 fileds above into the Soap request my code works,
but when trying to pass values from DB no values is passed...
Code for the Button: (Server)
$soap = new SoapClient("http://serverip/webservice?wsdl");
$req = new stdClass;
$req->clientName = "chmrequest";
$req->userAuthenticationInfo = new stdClass;
$req->userAuthenticationInfo->UserDN = $data["UserDN"];
$req->userAuthenticationInfo->UserID = $data["UserID"];
$req->userAuthenticationInfo->UserPassword = $data["GUIPassword"];
$response = $soap->RegisterClient($req);
$handle = $response->RegisterClientResult;
$req = new stdClass;
$req->clientHandle = $handle;
$req->activeCallHandlingMode = "InAMeeting";
$response = $soap->SetUserActiveCHM($req);
$req = new stdClass;
$req->clientHandle = $handle;
$response = $soap->UnegisterClient($req);
What am i doing wrong?