--TEST--
SOAP Interop Round4 GroupH Complex Doc Lit 002 (php/wsdl): echoBaseStructFault
--EXTENSIONS--
soap
--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;
}
}
$struct = new BaseStruct(new SOAPStruct("a1",11,12.345),11);
$client = new SoapClient(__DIR__."/round4_groupH_complex_doclit.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echoBaseStructFault($struct);
echo $client->__getlastrequest();
$HTTP_RAW_POST_DATA = $client->__getlastrequest();
include("round4_groupH_complex_doclit.inc");
echo "ok\n";
?>
--EXPECT--
a11112.34511
SOAP-ENV:ServerFault in response to 'echoBaseStructFault'.a11112.34511
ok