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... -- View this message in context: http://www.nabble.com/Re%3A-SoapVar-and-Encoding-tp12254344p15201293.html Sent from the Php - Soap mailing list archive at Nabble.com. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php