SOAP_Interop
[ class tree: SOAP_Interop ] [ index: SOAP_Interop ] [ all elements ]

Source for file params_Round2Base.php

Documentation is available at params_Round2Base.php

  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_Round2Base.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_R2BASE','Round 2 Base');
  24. //***********************************************************
  25. // Base echoString
  26.  
  27. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString'
  28.                             array('inputString' => &$string),$soap_test_null);
  29. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString'
  30.                             array('inputString' => &$string_soapval));
  31. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString(null)'
  32.                             array('inputString' => &$string_null));
  33. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString(null)'
  34.                             array('inputString' => &$string_null_soapval));
  35. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString(entities)'
  36.                             array('inputString' => &$string_entities));
  37. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoString(entities)'
  38.                             array('inputString' => &$string_entities_soapval));
  39. $test =new SOAP_Interop_Test('echoString(utf-8)'
  40.                             array('inputString' => &$string_utf8));
  41. $test->encoding = 'UTF-8';
  42. $soap_tests[INTEROP_R2BASE][=$test;
  43. unset($test);
  44.  
  45. $test =new SOAP_Interop_Test('echoString(utf-8)'
  46.                             array('inputString' => &$string_utf8_soapval));
  47. $test->encoding = 'UTF-8';
  48. $soap_tests[INTEROP_R2BASE][=$test;
  49. unset($test);
  50.  
  51. //***********************************************************
  52. // Base echoStringArray
  53.  
  54. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray',
  55.         array('inputStringArray' => &$string_array));
  56. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray',
  57.         array('inputStringArray' => &$string_array_soapval));
  58. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray(one)',
  59.         array('inputStringArray' => &$string_array_one));
  60. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray(one)',
  61.         array('inputStringArray' => &$string_array_one_soapval));
  62. // null array test
  63. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray(null)'
  64.         array('inputStringArray' => &$string_array_null));
  65. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStringArray(null)'
  66.         array('inputStringArray' => &$string_array_null_soapval));
  67.  
  68. //***********************************************************
  69. // Base echoInteger
  70.  
  71. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoInteger'
  72.         array('inputInteger' => &$integer));
  73. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoInteger'
  74.         array('inputInteger' => &$integer_soapval));
  75.  
  76. //***********************************************************
  77. // Base echoIntegerArray
  78.  
  79. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoIntegerArray'
  80.         array('inputIntegerArray' => &$integer_array));
  81. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoIntegerArray',
  82.         array('inputIntegerArray' => &$integer_array_soapval));
  83.  
  84. // null array test
  85. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoIntegerArray(null)'
  86.         array('inputIntegerArray' => &$integer_array_null));
  87. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoIntegerArray(null)'
  88.         array('inputIntegerArray' => &$integer_array_null_soapval));
  89.  
  90. //***********************************************************
  91. // Base echoFloat
  92.  
  93. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoFloat'
  94.         array('inputFloat' => &$float));
  95. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoFloat'
  96.         array('inputFloat' => &$float_soapval));
  97.  
  98. //***********************************************************
  99. // Base echoFloatArray
  100.  
  101. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoFloatArray'
  102.         array('inputFloatArray' => &$float_array));
  103. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoFloatArray'
  104.         array('inputFloatArray' => &$float_array_soapval));
  105.  
  106. //***********************************************************
  107. // Base echoStruct
  108.  
  109. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStruct'
  110.         array('inputStruct' => &$soapstruct));
  111. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStruct'
  112.         array('inputStruct' => &$soapstruct_soapval));
  113.  
  114. //***********************************************************
  115. // Base echoStructArray
  116.  
  117. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStructArray'
  118.         array('inputStructArray' => &$soapstruct_array));
  119. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoStructArray'
  120.         array('inputStructArray' => &$soapstruct_array_soapval));
  121.  
  122. //***********************************************************
  123. // Base echoVoid
  124.  
  125. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoVoid'NULL);
  126. $test =new SOAP_Interop_Test('echoVoid'NULL);
  127. $test->type = 'soapval';
  128. $soap_tests[INTEROP_R2BASE][=$test;
  129. unset($test);
  130.  
  131. //***********************************************************
  132. // Base echoBase64
  133.  
  134. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBase64'
  135.         array('inputBase64' => &$base64));
  136. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBase64'
  137.         array('inputBase64' => &$base64_soapval));
  138.  
  139. //***********************************************************
  140. // Base echoHexBinary
  141.  
  142. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoHexBinary'
  143.         array('inputHexBinary' => &$hexBin));
  144. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoHexBinary'
  145.         array('inputHexBinary' => &$hexBin_soapval));
  146.  
  147. //***********************************************************
  148. // Base echoDecimal
  149.  
  150. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoDecimal'
  151.         array('inputDecimal' => &$decimal));
  152. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoDecimal'
  153.         array('inputDecimal' => &$decimal_soapval));
  154.  
  155. //***********************************************************
  156. // Base echoDate
  157.  
  158. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoDate'
  159.         array('inputDate' => &$dateTime));
  160. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoDate'
  161.         array('inputDate' => &$dateTime_soapval));
  162.  
  163. //***********************************************************
  164. // Base echoBoolean
  165.  
  166. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(TRUE)'
  167.         array('inputBoolean' => &$boolean_true));
  168. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(TRUE)'
  169.         array('inputBoolean' => &$boolean_true_soapval));
  170. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(FALSE)'
  171.         array('inputBoolean' => &$boolean_false));
  172. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(FALSE)'
  173.         array('inputBoolean' => &$boolean_false_soapval));
  174. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(1)'
  175.         array('inputBoolean' => &$boolean_one));
  176. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(1)'
  177.         array('inputBoolean' => &$boolean_one_soapval));
  178. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(0)'
  179.         array('inputBoolean' => &$boolean_zero));
  180. $soap_tests[INTEROP_R2BASE][=new SOAP_Interop_Test('echoBoolean(0)'
  181.         array('inputBoolean' => &$boolean_zero_soapval));
  182.  
  183. ?>

Documentation generated on Mon, 11 Mar 2019 14:54:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.