--TEST--
SOAP Interop Round4 GroupH Complex Doc Lit 004 (php/wsdl): echoMultipleFaults1(1)
--SKIPIF--
--INI--
precision=14
soap.wsdl_cache_enabled=0
--FILE--
varString = $s;
$this->varInt = $i;
$this->varFloat = $f;
}
}
class BaseStruct {
function BaseStruct($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(dirname(__FILE__)."/round4_groupH_complex_doclit.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echoMultipleFaults1(array("whichFault" => 1,
"param1" => $s1,
"param2" => $s2));
echo $client->__getlastrequest();
$HTTP_RAW_POST_DATA = $client->__getlastrequest();
include("round4_groupH_complex_doclit.inc");
echo "ok\n";
?>
--EXPECT--
1arg134325.325arg234325.32512
SOAP-ENV:ServerFault in response to 'echoMultipleFaults1'.arg134325.325
ok