Back to index

php5  5.3.10
round2_groupB.inc
Go to the documentation of this file.
00001 <?php
00002 class SOAP_Interop_GroupB {
00003 
00004     function echoStructAsSimpleTypes ($struct)
00005     {
00006       return array('outputString'  => $struct->varString,
00007                    'outputInteger' => $struct->varInt,
00008                    'outputFloat'   => $struct->varFloat);
00009     }
00010 
00011     function echoSimpleTypesAsStruct($string, $int, $float)
00012     {
00013       return (object)array("varString" => $string,
00014                                                                        "varInt"    => $int,
00015                                                                        "varFloat"  => $float);
00016     }
00017 
00018     function echoNestedStruct($struct)
00019     {
00020      return $struct;
00021     }
00022 
00023     function echo2DStringArray($ary)
00024     {
00025       return $ary;
00026     }
00027 
00028     function echoNestedArray($ary)
00029     {
00030       return $ary;
00031     }
00032 }
00033 
00034 ini_set("soap.wsdl_cache_enabled",0);
00035 $server = new SoapServer(dirname(__FILE__)."/round2_groupB.wsdl");
00036 $server->setClass("SOAP_Interop_GroupB");
00037 $server->handle($HTTP_RAW_POST_DATA);
00038 ?>