--TEST--
SOAP Interop Round4 GroupH Complex RPC Enc 005 (php/wsdl): echoMultipleFaults1(2)
--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->floatMessage = $f;
$this->shortMessage = $s;
}
}
$s1 = new SOAPStruct('arg',34,325.325);
$s2 = new BaseStruct(12.345,12);
$client = new SoapClient(__DIR__."/round4_groupH_complex_rpcenc.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echoMultipleFaults1(2,$s1,$s2);
echo $client->__getlastrequest();
$HTTP_RAW_POST_DATA = $client->__getlastrequest();
include("round4_groupH_complex_rpcenc.inc");
echo "ok\n";
?>
--EXPECT--
2arg34325.32512.34512
SOAP-ENV:ServerFault in response to 'echoMultipleFaults1'.12.34512
ok