Annotation of embedaddon/php/ext/soap/tests/interop/Round3/GroupE/r3_groupE_list_004w.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SOAP Interop Round3 GroupE List 004 (php/wsdl): echoLinkedList
! 3: --SKIPIF--
! 4: <?php require_once('skipif.inc'); ?>
! 5: --INI--
! 6: soap.wsdl_cache_enabled=0
! 7: --FILE--
! 8: <?php
! 9: class SOAPList {
! 10: function SOAPList($s, $i, $c) {
! 11: $this->varString = $s;
! 12: $this->varInt = $i;
! 13: $this->child = $c;
! 14: }
! 15: }
! 16: $struct = NULL;
! 17: $client = new SoapClient(dirname(__FILE__)."/round3_groupE_list.wsdl",array("trace"=>1,"exceptions"=>0));
! 18: $client->echoLinkedList($struct);
! 19: echo $client->__getlastrequest();
! 20: $HTTP_RAW_POST_DATA = $client->__getlastrequest();
! 21: include("round3_groupE_list.inc");
! 22: echo "ok\n";
! 23: ?>
! 24: --EXPECT--
! 25: <?xml version="1.0" encoding="UTF-8"?>
! 26: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/WSDLInteropTestRpcEnc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://soapinterop.org/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:echoLinkedList><param0 xsi:nil="true" xsi:type="ns2:List"/></ns1:echoLinkedList></SOAP-ENV:Body></SOAP-ENV:Envelope>
! 27: <?xml version="1.0" encoding="UTF-8"?>
! 28: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/WSDLInteropTestRpcEnc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://soapinterop.org/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:echoLinkedListResponse><return xsi:nil="true" xsi:type="ns2:List"/></ns1:echoLinkedListResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
! 29: NULL
! 30: ok
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>