View Single Post
  #4 (permalink)  
Old 11-23-2006, 09:27 PM
Corey Scott Corey Scott is offline
Junior Member
 
Posts: 6
Default

Its a bit of a kludge (then again what about PHP SOAP isnt ) but I found a solution that works.

Kludge 1 (Change Password):
If you build your params like this:
Code:
$arrArgs = array();
$arrArgs[] = new SoapVar('<account by="name">' . $strUsername . '</account>', XSD_ANYXML);;
$arrArgs[] = new SoapParam($strOldPassword, 'oldPassword');
$arrArgs[] = new SoapParam($strNewPassword, 'password');
Klude 2 (GetApptSummariesRequest):
Code:
Intead of defining the function name:
$strFunctionName = 'GetApptSummariesRequest';

Sadly you need this instead:
$strFunctionName = 'GetApptSummariesRequest s="' . $intTsStart . '" e="' . $intTsEnd . '"';

You get the output you need.
Cheers

Last edited by Corey Scott; 11-24-2006 at 12:05 AM..
Reply With Quote