--TEST--
SOAP Interop Round4 GroupH Complex Doc Lit 002 (php/wsdl): echoBaseStructFault
--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;
}
}
$struct = new BaseStruct(new SOAPStruct("a1",11,12.345),11);
$client = new SoapClient(dirname(__FILE__)."/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