<?php class SOAPList { function __construct($s, $i, $c) { $this->varString = $s; $this->varInt = $i; $this->child = $c; } } $struct = new SOAPList('arg1', 1, new SOAPList('arg2', 2, new SOAPList('arg3', 3, NULL))); $struct->child->child->child = $struct->child; $client = new SoapClient(dirname(__FILE__) . "/round3_groupE_list.wsdl", array("trace" => 1, "exceptions" => 0)); $client->echoLinkedList($struct); echo $client->__getlastrequest(); $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include "round3_groupE_list.inc"; echo "ok\n";