--TEST--
SOAP Interop Round4 GroupH Complex Doc Lit 006 (php/wsdl): echoMultipleFaults1(3)
--SKIPIF--
--INI--
precision=14
soap.wsdl_cache_enabled=0
--FILE--
varString = $s;
$this->varInt = $i;
$this->varFloat = $f;
}
}
class BaseStruct {
function __construct($f, $s) {
$this->structMessage = $f;
$this->shortMessage = $s;
}
}
$s1 = new SOAPStruct('arg1',34,325.325);
$s2 = new BaseStruct(new SOAPStruct('arg2',34,325.325),12);
$client = new SoapClient(__DIR__."/round4_groupH_complex_doclit.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echoMultipleFaults1(array("whichFault" => 3,
"param1" => $s1,
"param2" => $s2));
echo $client->__getlastrequest();
$HTTP_RAW_POST_DATA = $client->__getlastrequest();
include("round4_groupH_complex_doclit.inc");
echo "ok\n";
?>
--EXPECT--
3arg134325.325arg234325.32512
SOAP-ENV:ServerFault in response to 'echoMultipleFaults1'.arg134325.325
ok