Re: [SOAP] SoapVar and Encoding
| From: | Samisa Abeysinghe | Date: | Thu, 31 Jan 2008 15:28:03 +0000 |
| Subject: | Re: [SOAP] SoapVar and Encoding | ||
| References: | 1 2 3 4 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2758@lists.php.net to get a copy of this message | ||
BTW, did you try using *SOAP_ENC_ARRAY in place of **SOAP_ENC_OBJECT* as the second argument of SoapVar?
Samisa...
Roine Edmundsson wrote:
Yes but how do I build the payload with soapParam when I have an unknown amount of lineItems inside another class that is further down in the structure? I do understand how I can do this with a fixe amount of lineItems, but not with a variable amount. I do thank you for the effort and time spent on this. /Roine Edmundsson I too have run into the "SOAP-ENC:STRUCT" problem when using the arrays. This is why I showed you an alternative way of building the payload. Unfortunately it looks like this form could not be supported with SOAP ext, as far as I know. Anyway, I will investigate further and let you know if I happen to find a solution. Thanks, Samisa...