Annotation of embedaddon/php/ext/soap/tests/interop/Round4/GroupH/r4_groupH_simple_doclit_006w.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: SOAP Interop Round4 GroupH Simple Doc Lit 006 (php/wsdl): echoMultipleFaults1(3)
        !             3: --SKIPIF--
        !             4: <?php require_once('skipif.inc'); ?>
        !             5: --INI--
        !             6: precision=14
        !             7: soap.wsdl_cache_enabled=0
        !             8: --FILE--
        !             9: <?php
        !            10: $client = new SoapClient(dirname(__FILE__)."/round4_groupH_simple_doclit.wsdl",array("trace"=>1,"exceptions"=>0));
        !            11: $client->echoMultipleFaults1(array("whichFault" => 3,
        !            12:                                    "param1" => "Hello world",
        !            13:                                    "param2" => array(12.345,45,678)));
        !            14: echo $client->__getlastrequest();
        !            15: $HTTP_RAW_POST_DATA = $client->__getlastrequest();
        !            16: include("round4_groupH_simple_doclit.inc");
        !            17: echo "ok\n";
        !            18: ?>
        !            19: --EXPECT--
        !            20: <?xml version="1.0" encoding="UTF-8"?>
        !            21: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/types/requestresponse" xmlns:ns2="http://soapinterop.org/types"><SOAP-ENV:Body><ns1:echoMultipleFaults1Request><ns1:whichFault>3</ns1:whichFault><ns1:param1>Hello world</ns1:param1><ns1:param2><ns2:value>12.345</ns2:value><ns2:value>45</ns2:value><ns2:value>678</ns2:value></ns1:param2></ns1:echoMultipleFaults1Request></SOAP-ENV:Body></SOAP-ENV:Envelope>
        !            22: <?xml version="1.0" encoding="UTF-8"?>
        !            23: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/types" xmlns:ns2="http://soapinterop.org/types/part"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Fault in response to 'echoMultipleFaults1'.</faultstring><detail><ns2:ArrayOfFloatPart><ns1:value>12.345</ns1:value><ns1:value>45</ns1:value><ns1:value>678</ns1:value></ns2:ArrayOfFloatPart></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
        !            24: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>