<?php $client = new SoapClient(dirname(__FILE__) . "/round4_groupH_simple_rpcenc.wsdl", array("trace" => 1, "exceptions" => 0)); $client->echoMultipleFaults3(1, "arg1", "arg2"); echo $client->__getlastrequest(); $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include "round4_groupH_simple_rpcenc.inc"; echo "ok\n";
<?php $client = new SoapClient(dirname(__FILE__) . "/round4_groupH_simple_doclit.wsdl", array("trace" => 1, "exceptions" => 0)); $client->echoMultipleFaults3(array("whichFault" => 1, "param1" => "arg1", "param2" => "arg2")); echo $client->__getlastrequest(); $HTTP_RAW_POST_DATA = $client->__getlastrequest(); include "round4_groupH_simple_doclit.inc"; echo "ok\n";