home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / SOAP / Interop / params_Round2GroupB.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  3.2 KB  |  72 lines

  1. <?php
  2. //
  3. // +----------------------------------------------------------------------+
  4. // | PHP Version 4                                                        |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2003 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.02 of the PHP license,      |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
  17. // +----------------------------------------------------------------------+
  18. //
  19. // $Id: params_Round2GroupB.php,v 1.4 2003/04/07 00:51:17 shane Exp $
  20. //
  21. require_once 'params_values.php';
  22. require_once 'interop_test.php';
  23. define('INTEROP_R2GROUPB','Round 2 Group B');
  24. //***********************************************************
  25. // GroupB echoStructAsSimpleTypes
  26.  
  27. $expect = array(
  28.         'outputString'=>'arg',
  29.         'outputInteger'=>34,
  30.         'outputFloat'=>325.325
  31.     );
  32. $soap_tests[INTEROP_R2GROUPB][] = 
  33.     new SOAP_Interop_Test('echoStructAsSimpleTypes',
  34.         array('inputStruct' => &$soapstruct), $expect);
  35. $soap_tests[INTEROP_R2GROUPB][] = 
  36.     new SOAP_Interop_Test('echoStructAsSimpleTypes',
  37.         array('inputStruct' => &$soapstruct_soapval), $expect);
  38.  
  39. //***********************************************************
  40. // GroupB echoSimpleTypesAsStruct
  41.  
  42. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoSimpleTypesAsStruct',
  43.     $simpletypes, $soapstruct);
  44. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoSimpleTypesAsStruct',
  45.     $simpletypes_soapval, $soapstruct);    
  46.  
  47. //***********************************************************
  48. // GroupB echo2DStringArray
  49.  
  50. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echo2DStringArray',
  51.     array('input2DStringArray' => &$multidimarray));
  52. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echo2DStringArray',
  53.     array('input2DStringArray' => &$multidimarray_soapval));
  54.  
  55. //***********************************************************
  56. // GroupB echoNestedStruct
  57.  
  58. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoNestedStruct',
  59.     array('inputStruct' => &$soapstructstruct));
  60. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoNestedStruct',
  61.     array('inputStruct' => &$soapstructstruct_soapval));
  62.  
  63. //***********************************************************
  64. // GroupB echoNestedArray
  65.  
  66. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoNestedArray',
  67.     array('inputStruct' => &$soaparraystruct));
  68. $soap_tests[INTEROP_R2GROUPB][] =& new SOAP_Interop_Test('echoNestedArray',
  69.     array('inputStruct' => &$soaparraystruct_soapval));
  70.         
  71.  
  72. ?>