Error in PHP soap client to .NET soap Server
Posted
by Gabriel
on Stack Overflow
See other posts from Stack Overflow
or by Gabriel
Published on 2009-12-11T21:15:57Z
Indexed on
2010/04/12
10:13 UTC
Read the original article
Hit count: 930
PHP soap client in attempting to interact with a .NET soap server results in the following error: [soap:Receiver] Server was unable to process request. ---> Invalid length for a Base-64 char array.
$credentials = array(
'RequestorUID'=> 'xxxx',
'RequestorPassword'=> 'xxxx'
);
$param = array('pmPropertyManagerID'=>'xxxx');
$client->GetPropertyStatus($credentials, $param);
GetPropertyStatus take two arguments, a credentials object -> which works correctly as other functions that only require credentials are executed correctly. The second argument is defineds as a string and I have attempted to input it directly as a string and base64_encoded string (error: Length of the data to decrypt is invalid), an array and an associative array both string and base64_encoded string and get the error above.
Any help would be appreciated.
© Stack Overflow or respective owner