Annotation of embedaddon/php/ext/soap/tests/interop/Round2/GroupB/round2_groupB.inc, revision 1.1.1.1

1.1       misho       1: <?php
                      2: class SOAP_Interop_GroupB {
                      3: 
                      4:     function echoStructAsSimpleTypes ($struct)
                      5:     {
                      6:       return array('outputString'  => $struct->varString,
                      7:                    'outputInteger' => $struct->varInt,
                      8:                    'outputFloat'   => $struct->varFloat);
                      9:     }
                     10: 
                     11:     function echoSimpleTypesAsStruct($string, $int, $float)
                     12:     {
                     13:       return (object)array("varString" => $string,
                     14:                                                                                 "varInt"    => $int,
                     15:                                                                                 "varFloat"  => $float);
                     16:     }
                     17: 
                     18:     function echoNestedStruct($struct)
                     19:     {
                     20:      return $struct;
                     21:     }
                     22: 
                     23:     function echo2DStringArray($ary)
                     24:     {
                     25:       return $ary;
                     26:     }
                     27: 
                     28:     function echoNestedArray($ary)
                     29:     {
                     30:       return $ary;
                     31:     }
                     32: }
                     33: 
                     34: ini_set("soap.wsdl_cache_enabled",0);
                     35: $server = new SoapServer(dirname(__FILE__)."/round2_groupB.wsdl");
                     36: $server->setClass("SOAP_Interop_GroupB");
                     37: $server->handle($HTTP_RAW_POST_DATA);
                     38: ?>

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