SV: [SOAP] Problem while sending complexType to server
| From: | Danne dot Lundqvist at corp dot vodafone dot se | Date: | Fri, 17 Dec 2004 13:35:12 +0000 |
| Subject: | SV: [SOAP] Problem while sending complexType to server | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1682@lists.php.net to get a copy of this message | ||
Use print_r() on the response object and you will see
how the response is structured. Amont other things you
will instantiations of stdClass.
For example. I have a complex type, parameters, defined
as an array of key/value pairs. In PHP I receive these
and use them as in the following code:
foreach($parameters as $param)
{
error_log($param->key .' = ' .$param->value);
}
Regards
Danne
-----Ursprungligt meddelande-----
Från: mirek [mailto:mirek.novak@gmail.com]
Skickat: den 16 december 2004 10:20
Till: soap@lists.php.net
Ämne: [SOAP] Problem while sending complexType to server
Hello list,
I've go this message
"Cannot use object of type stdClass as array"
when I tried to send complex type to server. Client is .NET application.
I've searched this message via google but no explanation found :(
Can someone point me to right direction?
thanx
--
Mirek
______________________________________
OBS! Vi har ändrat våra e-postadresser, se avsändaradressen ovan. V.g.
uppdatera dina eventuella sändlistor.
N.B. Our e-mail addresses are changed (see above sender address). Please
change any sendlists accordingly. Thank you.
______________________________________
This message and any files or documents attached are confidential and may
also be legally privileged or protected by other legal rules. It is intended
only for the individual or entity named. If you are not the named addressee
or you have received this email in error, please inform the sender
immediately, delete it from your system and do not copy or disclose it or
its contents or use it for any purpose.
Thank you.
Please also note that transmission cannot be guaranteed to be secure or
error-free.