--TEST-- SOAP Interop Round2 base 015 (soap/direct): echoStructArray --SKIPIF-- --INI-- precision=14 --FILE-- varString = $s; $this->varInt = $i; $this->varFloat = $f; } } $struct1 = new SoapVar(array( new SoapVar('arg', XSD_STRING, null, null, 'varString'), new SoapVar('34', XSD_INT, null, null, 'varInt'), new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat') ),SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd"); $struct2 = new SoapVar(array( new SoapVar('arg', XSD_STRING, null, null, 'varString'), new SoapVar('34', XSD_INT, null, null, 'varInt'), new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat') ),SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd"); $param = new SoapParam(new SoapVar(array( $struct1, $struct2 ),SOAP_ENC_ARRAY,"ArrayOfSOAPStruct","http://soapinterop.org/xsd"), "inputStructArray"); $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=>1,"exceptions"=>0)); $client->__soapCall("echoStructArray", array($param), array("soapaction"=>"http://soapinterop.org/","uri"=>"http://soapinterop.org/")); echo $client->__getlastrequest(); $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include("round2_base.inc"); echo "ok\n"; ?> --EXPECT-- arg34325.325arg34325.325 arg34325.325arg34325.325 ok