Re: [SOAP] SoapVar and Encoding

[email protected] (Samisa Abeysinghe)
Newsgroups php.soap
Message-ID <[email protected]>
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...
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.