dmitry          Thu Apr  1 09:37:04 2004 EDT

  Modified files:              
    /php-src/ext/soap/interop   client_round2_interop.php 
                                client_round2_params.php 
  Log:
  StudlyCaps fix.
  
  
http://cvs.php.net/diff.php/php-src/ext/soap/interop/client_round2_interop.php?r1=1.14&r2=1.15&ty=u
Index: php-src/ext/soap/interop/client_round2_interop.php
diff -u php-src/ext/soap/interop/client_round2_interop.php:1.14 
php-src/ext/soap/interop/client_round2_interop.php:1.15
--- php-src/ext/soap/interop/client_round2_interop.php:1.14     Fri Feb 13 05:29:55 
2004
+++ php-src/ext/soap/interop/client_round2_interop.php  Thu Apr  1 09:37:03 2004
@@ -16,7 +16,7 @@
 // | Authors: Shane Caraveo <[EMAIL PROTECTED]>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: client_round2_interop.php,v 1.14 2004/02/13 10:29:55 dmitry Exp $
+// $Id: client_round2_interop.php,v 1.15 2004/04/01 14:37:03 dmitry Exp $
 //
 require_once 'DB.php'; // PEAR/DB
 require_once 'client_round2_params.php';
@@ -309,9 +309,9 @@
     function decodeSoapval($soapval)
     {
         if (gettype($soapval) == "object" &&
-            (strcasecmp(get_class($soapval),"soapparam") == 0 ||
-             strcasecmp(get_class($soapval),"soapvar") == 0)) {
-                if (strcasecmp(get_class($soapval),"soapparam") == 0)
+            (strcasecmp(get_class($soapval),"SoapParam") == 0 ||
+             strcasecmp(get_class($soapval),"SoapVar") == 0)) {
+                if (strcasecmp(get_class($soapval),"SoapParam") == 0)
                     $val = $soapval->param_data->enc_value;
                 else
                     $val = $soapval->enc_value;
@@ -321,8 +321,8 @@
         if (is_array($val)) {
             foreach($val as $k => $v) {
                 if (gettype($v) == "object" &&
-                    (strcasecmp(get_class($soapval),"soapparam") == 0 ||
-                    strcasecmp(get_class($soapval),"soapvar") == 0)) {
+                    (strcasecmp(get_class($soapval),"SoapParam") == 0 ||
+                    strcasecmp(get_class($soapval),"SoapVar") == 0)) {
                     $val[$k] = $this->decodeSoapval($v);
                 }
             }
http://cvs.php.net/diff.php/php-src/ext/soap/interop/client_round2_params.php?r1=1.10&r2=1.11&ty=u
Index: php-src/ext/soap/interop/client_round2_params.php
diff -u php-src/ext/soap/interop/client_round2_params.php:1.10 
php-src/ext/soap/interop/client_round2_params.php:1.11
--- php-src/ext/soap/interop/client_round2_params.php:1.10      Wed Feb 11 11:13:15 
2004
+++ php-src/ext/soap/interop/client_round2_params.php   Thu Apr  1 09:37:03 2004
@@ -16,7 +16,7 @@
 // | Authors: Shane Caraveo <[EMAIL PROTECTED]>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: client_round2_params.php,v 1.10 2004/02/11 16:13:15 dmitry Exp $
+// $Id: client_round2_params.php,v 1.11 2004/04/01 14:37:03 dmitry Exp $
 //
 
 define('SOAP_TEST_ACTOR_OTHER','http://some/other/actor');
@@ -59,7 +59,7 @@
         if ($params) {
         $v = array_values($params);
         if (gettype($v[0]) == 'object' &&
-            (get_class($v[0]) == 'soapvar' || get_class($v[0]) == 'soapparam'))
+            (get_class($v[0]) == 'SoapVar' || get_class($v[0]) == 'SoapParam'))
             $this->type = 'soapval';
         }
     }
@@ -146,7 +146,7 @@
 }
 
 function soap_value($name, $value, $type, $type_name=NULL, $type_ns=NULL) {
-    return new soapparam(new soapvar($value,$type,$type_name,$type_ns),$name);
+    return new SoapParam(new SoapVar($value,$type,$type_name,$type_ns),$name);
 }
 
 class SOAPStruct {
@@ -217,7 +217,7 @@
 $soap_tests['base'][] = new SOAP_Test('echoIntegerArray',
         array('inputIntegerArray' =>
             soap_value('inputIntegerArray',
-                       array(new soapvar(12345,XSD_INT),new soapvar(654321,XSD_INT)),
+                       array(new SoapVar(12345,XSD_INT),new SoapVar(654321,XSD_INT)),
                     SOAP_ENC_ARRAY,"ArrayOfint","http://soapinterop.org/xsd";)));
 
 //***********************************************************
@@ -233,7 +233,7 @@
 $soap_tests['base'][] = new SOAP_Test('echoFloatArray',
         array('inputFloatArray' =>
             soap_value('inputFloatArray',
-                       array(new soapvar(123.45,XSD_FLOAT),new 
soapvar(654.321,XSD_FLOAT)),
+                       array(new SoapVar(123.45,XSD_FLOAT),new 
SoapVar(654.321,XSD_FLOAT)),
                     SOAP_ENC_ARRAY,"ArrayOffloat","http://soapinterop.org/xsd";)));
 //***********************************************************
 // Base echoStruct
@@ -251,9 +251,9 @@
         $soapstruct,$soapstruct,$soapstruct)));
 $soap_tests['base'][] = new SOAP_Test('echoStructArray', array('inputStructArray' =>
          soap_value('inputStructArray',array(
-           new 
soapvar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";),
-           new 
soapvar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";),
-           new 
soapvar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";)),
+           new 
SoapVar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";),
+           new 
SoapVar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";),
+           new 
SoapVar($soapstruct,SOAP_ENC_OBJECT,"SOAPStruct","http://soapinterop.org/xsd";)),
          SOAP_ENC_ARRAY,"ArrayOfSOAPStruct","http://soapinterop.org/xsd";)));
 
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to