]> granicus.if.org Git - php/commitdiff
- Added arginfo
authorFelipe Pena <felipe@php.net>
Tue, 22 Jul 2008 01:46:43 +0000 (01:46 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 22 Jul 2008 01:46:43 +0000 (01:46 +0000)
39 files changed:
ext/soap/soap.c
ext/soap/tests/any.phpt
ext/soap/tests/bugs/bug28969.phpt
ext/soap/tests/bugs/bug29795.phpt
ext/soap/tests/bugs/bug29839.phpt
ext/soap/tests/bugs/bug29844.phpt
ext/soap/tests/bugs/bug30045.phpt
ext/soap/tests/bugs/bug30106.phpt
ext/soap/tests/bugs/bug30175.phpt
ext/soap/tests/bugs/bug30928.phpt
ext/soap/tests/bugs/bug31695.phpt
ext/soap/tests/bugs/bug32776.phpt
ext/soap/tests/bugs/bug32941.phpt
ext/soap/tests/bugs/bug34449.phpt
ext/soap/tests/bugs/bug34453.phpt
ext/soap/tests/bugs/bug34643.phpt
ext/soap/tests/bugs/bug35142.phpt
ext/soap/tests/bugs/bug35273.phpt
ext/soap/tests/bugs/bug36226-2.phpt
ext/soap/tests/bugs/bug36226.phpt
ext/soap/tests/bugs/bug36999.phpt
ext/soap/tests/bugs/bug37083.phpt
ext/soap/tests/bugs/bug38004.phpt
ext/soap/tests/bugs/bug38005.phpt
ext/soap/tests/bugs/bug38055.phpt
ext/soap/tests/bugs/bug38067.phpt
ext/soap/tests/bugs/bug38536.phpt
ext/soap/tests/bugs/bug39121.phpt
ext/soap/tests/bugs/bug42692.phpt
ext/soap/tests/classmap002.phpt
ext/soap/tests/classmap003.phpt
ext/soap/tests/classmap004.phpt
ext/soap/tests/transport001.phpt
ext/soap/tests/typemap003.phpt
ext/soap/tests/typemap004.phpt
ext/soap/tests/typemap007.phpt
ext/soap/tests/typemap008.phpt
ext/soap/tests/typemap011.phpt
ext/soap/tests/typemap012.phpt

index 17abdfc32746d7aed9566d95818b00537e07a73f..126e03b8db985efaeb3bf742c35135ec6f6377e0 100644 (file)
@@ -203,73 +203,232 @@ PHP_METHOD(SoapHeader, SoapHeader);
 
 #define SOAP_CTOR(class_name, func_name, arginfo, flags) ZEND_FENTRY(__construct, ZEND_MN(class_name##_##func_name), arginfo, flags)
 
+/* {{{ arginfo */
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapparam_soapparam, 0, 0, 2)
+       ZEND_ARG_INFO(0, data)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapheader_soapheader, 0, 0, 2)
+       ZEND_ARG_INFO(0, namespace)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, data)
+       ZEND_ARG_INFO(0, mustunderstand)
+       ZEND_ARG_INFO(0, actor)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapfault_soapfault, 0, 0, 2)
+       ZEND_ARG_INFO(0, faultcode)
+       ZEND_ARG_INFO(0, faultstring)
+       ZEND_ARG_INFO(0, faultactor)
+       ZEND_ARG_INFO(0, detail)
+       ZEND_ARG_INFO(0, faultname)
+       ZEND_ARG_INFO(0, headerfault)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapvar_soapvar, 0, 0, 2)
+       ZEND_ARG_INFO(0, data)
+       ZEND_ARG_INFO(0, encoding)
+       ZEND_ARG_INFO(0, type_name)
+       ZEND_ARG_INFO(0, type_namespace)
+       ZEND_ARG_INFO(0, node_name)
+       ZEND_ARG_INFO(0, node_namespace)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_fault, 0, 0, 2)
+       ZEND_ARG_INFO(0, code)
+       ZEND_ARG_INFO(0, string)
+       ZEND_ARG_INFO(0, actor)
+       ZEND_ARG_INFO(0, details)
+       ZEND_ARG_INFO(0, name)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_addsoapheader, 0, 0, 1)
+       ZEND_ARG_INFO(0, object)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_soapserver, 0, 0, 1)
+       ZEND_ARG_INFO(0, wsdl)
+       ZEND_ARG_INFO(0, options)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_setpersistence, 0, 0, 1)
+       ZEND_ARG_INFO(0, mode)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_setclass, 0, 0, 1)
+       ZEND_ARG_INFO(0, class_name)
+       ZEND_ARG_INFO(0, args)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_setobject, 0, 0, 1)
+       ZEND_ARG_INFO(0, object)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapserver_getfunctions, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_addfunction, 0, 0, 1)
+       ZEND_ARG_INFO(0, functions)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_handle, 0, 0, 0)
+       ZEND_ARG_INFO(0, soap_request)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient_soapclient, 0, 0, 1)
+       ZEND_ARG_INFO(0, wsdl)
+       ZEND_ARG_INFO(0, options)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___call, 0, 0, 2)
+       ZEND_ARG_INFO(0, function_name)
+       ZEND_ARG_INFO(0, arguments)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___soapcall, 0, 0, 2)
+       ZEND_ARG_INFO(0, function_name)
+       ZEND_ARG_INFO(0, arguments)
+       ZEND_ARG_INFO(0, options)
+       ZEND_ARG_INFO(0, input_headers)
+       ZEND_ARG_INFO(1, output_headers)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getfunctions, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___gettypes, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getlastrequest, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getlastresponse, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getlastrequestheaders, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getlastresponseheaders, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___dorequest, 0, 0, 4)
+       ZEND_ARG_INFO(0, request)
+       ZEND_ARG_INFO(0, location)
+       ZEND_ARG_INFO(0, action)
+       ZEND_ARG_INFO(0, version)
+       ZEND_ARG_INFO(0, one_way)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___setcookie, 0, 0, 1)
+       ZEND_ARG_INFO(0, name)
+       ZEND_ARG_INFO(0, value)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO(arginfo_soapclient___getcookie, 0)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___setsoapheaders, 0, 0, 1)
+       ZEND_ARG_INFO(0, soapheaders)
+ZEND_END_ARG_INFO()
+
+static
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soapclient___setlocation, 0, 0, 0)
+       ZEND_ARG_INFO(0, new_location)
+ZEND_END_ARG_INFO()
+
+static 
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soap_use_soap_error_handler, 0, 0, 0)
+       ZEND_ARG_INFO(0, handler)
+ZEND_END_ARG_INFO()
+
+static 
+ZEND_BEGIN_ARG_INFO_EX(arginfo_soap_is_soap_fault, 0, 0, 1)
+       ZEND_ARG_INFO(0, object)
+ZEND_END_ARG_INFO()
+/* }}} */
+
 static const zend_function_entry soap_functions[] = {
-       PHP_FE(use_soap_error_handler, NULL)
-       PHP_FE(is_soap_fault, NULL)
+       PHP_FE(use_soap_error_handler,  arginfo_soap_use_soap_error_handler)
+       PHP_FE(is_soap_fault,                   arginfo_soap_is_soap_fault)
        {NULL, NULL, NULL}
 };
 
 static const zend_function_entry soap_fault_functions[] = {
-       SOAP_CTOR(SoapFault, SoapFault, NULL, 0)
+       SOAP_CTOR(SoapFault, SoapFault, arginfo_soapfault_soapfault, 0)
        PHP_ME(SoapFault, __toString, NULL, 0)
        {NULL, NULL, NULL}
 };
 
 static const zend_function_entry soap_server_functions[] = {
-       SOAP_CTOR(SoapServer, SoapServer, NULL, 0)
-       PHP_ME(SoapServer, setPersistence, NULL, 0)
-       PHP_ME(SoapServer, setClass, NULL, 0)
-       PHP_ME(SoapServer, setObject, NULL, 0)
-       PHP_ME(SoapServer, addFunction, NULL, 0)
-       PHP_ME(SoapServer, getFunctions, NULL, 0)
-       PHP_ME(SoapServer, handle, NULL, 0)
-       PHP_ME(SoapServer, fault, NULL, 0)
-       PHP_ME(SoapServer, addSoapHeader, NULL, 0)
+       SOAP_CTOR(SoapServer, SoapServer,       arginfo_soapserver_soapserver, 0)
+       PHP_ME(SoapServer, setPersistence,      arginfo_soapserver_setpersistence, 0)
+       PHP_ME(SoapServer, setClass,            arginfo_soapserver_setclass, 0)
+       PHP_ME(SoapServer, setObject,           arginfo_soapserver_setobject, 0)
+       PHP_ME(SoapServer, addFunction,         arginfo_soapserver_addfunction, 0)
+       PHP_ME(SoapServer, getFunctions,        arginfo_soapserver_getfunctions, 0)
+       PHP_ME(SoapServer, handle,                      arginfo_soapserver_handle, 0)
+       PHP_ME(SoapServer, fault,                       arginfo_soapserver_fault, 0)
+       PHP_ME(SoapServer, addSoapHeader,       arginfo_soapserver_addsoapheader, 0)
        {NULL, NULL, NULL}
 };
 
-ZEND_BEGIN_ARG_INFO(__call_args, 0)
-       ZEND_ARG_PASS_INFO(0)
-       ZEND_ARG_PASS_INFO(0)
-ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(__soap_call_args, 0, 0, 2)
-       ZEND_ARG_PASS_INFO(0)
-       ZEND_ARG_PASS_INFO(0)
-       ZEND_ARG_PASS_INFO(0)
-       ZEND_ARG_PASS_INFO(0)
-       ZEND_ARG_PASS_INFO(1)
-ZEND_END_ARG_INFO()
-
 static const zend_function_entry soap_client_functions[] = {
-       SOAP_CTOR(SoapClient, SoapClient, NULL, 0)
-       PHP_ME(SoapClient, __call, __call_args, 0)
-       ZEND_FENTRY(__soapCall, ZEND_MN(SoapClient___call), __soap_call_args, 0)
-       PHP_ME(SoapClient, __getLastRequest, NULL, 0)
-       PHP_ME(SoapClient, __getLastResponse, NULL, 0)
-       PHP_ME(SoapClient, __getLastRequestHeaders, NULL, 0)
-       PHP_ME(SoapClient, __getLastResponseHeaders, NULL, 0)
-       PHP_ME(SoapClient, __getFunctions, NULL, 0)
-       PHP_ME(SoapClient, __getTypes, NULL, 0)
-       PHP_ME(SoapClient, __doRequest, NULL, 0)
-       PHP_ME(SoapClient, __setCookie, NULL, 0)
-       PHP_ME(SoapClient, __getCookies, NULL, 0)
-       PHP_ME(SoapClient, __setLocation, NULL, 0)
-       PHP_ME(SoapClient, __setSoapHeaders, NULL, 0)
+       SOAP_CTOR(SoapClient, SoapClient, arginfo_soapclient_soapclient, 0)
+       PHP_ME(SoapClient, __call, arginfo_soapclient___call, 0)
+       ZEND_FENTRY(__soapCall, ZEND_MN(SoapClient___call), arginfo_soapclient___soapcall, 0)
+       PHP_ME(SoapClient, __getLastRequest,                    arginfo_soapclient___getlastrequest, 0)
+       PHP_ME(SoapClient, __getLastResponse,                   arginfo_soapclient___getlastresponse, 0)
+       PHP_ME(SoapClient, __getLastRequestHeaders,             arginfo_soapclient___getlastrequestheaders, 0)
+       PHP_ME(SoapClient, __getLastResponseHeaders,    arginfo_soapclient___getlastresponseheaders, 0)
+       PHP_ME(SoapClient, __getFunctions,                              arginfo_soapclient___getfunctions, 0)
+       PHP_ME(SoapClient, __getTypes,                                  arginfo_soapclient___gettypes, 0)
+       PHP_ME(SoapClient, __doRequest,                                 arginfo_soapclient___dorequest, 0)
+       PHP_ME(SoapClient, __setCookie,                                 arginfo_soapclient___setcookie, 0)
+       PHP_ME(SoapClient, __getCookies,                                arginfo_soapclient___getcookie, 0)
+       PHP_ME(SoapClient, __setLocation,                               arginfo_soapclient___setlocation, 0)
+       PHP_ME(SoapClient, __setSoapHeaders,                    arginfo_soapclient___setsoapheaders, 0)
        {NULL, NULL, NULL}
 };
 
 static const zend_function_entry soap_var_functions[] = {
-       SOAP_CTOR(SoapVar, SoapVar, NULL, 0)
+       SOAP_CTOR(SoapVar, SoapVar, arginfo_soapvar_soapvar, 0)
        {NULL, NULL, NULL}
 };
 
 static const zend_function_entry soap_param_functions[] = {
-       SOAP_CTOR(SoapParam, SoapParam, NULL, 0)
+       SOAP_CTOR(SoapParam, SoapParam, arginfo_soapparam_soapparam, 0)
        {NULL, NULL, NULL}
 };
 
 static const zend_function_entry soap_header_functions[] = {
-       SOAP_CTOR(SoapHeader, SoapHeader, NULL, 0)
+       SOAP_CTOR(SoapHeader, SoapHeader, arginfo_soapheader_soapheader, 0)
        {NULL, NULL, NULL}
 };
 
index 821aaee96094f7db0b293022f3a3fb0b038bee1a..cb3eff5b5fc8dbf87494145106b5d2cc51e32ee7 100755 (executable)
@@ -34,7 +34,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('echoAnyElement');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index d70d6f7d8191bb6d052846a8c27fb6d72cee9f17..de17f3da8797c672b9e8aae2fe0b31bac3c1024f 100644 (file)
@@ -20,7 +20,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index cb78cfcb64df1b8bd1133996858fa54f2c6668c9..388caa60b6c220d3bd5b0fa75baf3260e96d92bf 100644 (file)
@@ -12,7 +12,7 @@ class LocalSoapClient extends SoapClient {
     parent::__construct($wsdl, $options);
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
index 0b0e0baf496f00185529e7b151cd6c075c3fbbde..11d924ec7851199ee590792aaf931292e073c5f7 100644 (file)
@@ -19,7 +19,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('EchoString');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 0acb6b6e588560e7898368e1990e7f8edafde622..7bf742443ac8a2ecae4ef0bb4389839b81381cf7 100644 (file)
@@ -21,7 +21,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->setClass('hello_world');;
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index e119b71d76cf6f3d2371455318b1659ec27ac5e9..281f958202d326fbbec1e83added7c1428f31373 100644 (file)
@@ -22,7 +22,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('foo');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     $xml = simplexml_load_string($request);
     echo $xml->children("http://schemas.xmlsoap.org/soap/envelope/")->Body->children("http://test-uri")->children()->param1->asXML(),"\n";
     unset($xml);
index 0a214b3155e2a3f24aecd74ecca9128c7c5c384a..f1c8a05c578587332bd5f0c74770603d89289b41 100644 (file)
@@ -19,7 +19,7 @@ class LocalSoapClient extends SoapClient {
                $this->server->addFunction("getContinentList"); 
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
        echo $request;
     ob_start();
     $this->server->handle($request);
index d1137779bd7699910fa9adc32ecbaf5194e8303c..f9a862a7633e06904cfd4bd93389793bb282f955 100644 (file)
@@ -9,7 +9,7 @@ soap.wsdl_cache_enabled=0
 
 class LocalSoapClient extends SoapClient {
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope
index 365adf6578e74b50c7b540c01ed890ed2d146162..9d06b76721230d18046017cc24f396285a79a1cf 100644 (file)
@@ -24,7 +24,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 60eb40c1ef71b83af7be7315099fcd6df1ea915b..9def10372677b26ba10450a8e5f99bcdeaf67a2b 100644 (file)
@@ -17,7 +17,7 @@ class LocalSoapClient extends SoapClient {
                $this->server->addFunction("Test"); 
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
        echo "$location\n";
     ob_start();
     $this->server->handle($request);
index e4099c90afda88c81ff8ef0fb4a5c9d77feded79..1f394b67fe68900fb8e53081af9ab49489f61f80 100644 (file)
@@ -22,7 +22,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index dd9cf926b77d61a8abf60df1a77e84daf05dc434..08c41342f536d3ead49223d7add879a257cf585e 100755 (executable)
@@ -5,7 +5,7 @@ Bug #32941 (Sending structured exception kills a php)
 --FILE--
 <?php
 class TestSoapClient extends SoapClient {
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
        return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <soapenv:Envelope
index 1bc9ff8749c12f379fcf1aa4ad464684af695082..f5766e29bc992827fdbdc21f269e7e5831765f2d 100755 (executable)
@@ -5,7 +5,7 @@ Bug #34449 (ext/soap: XSD_ANYXML functionality not exposed)
 --FILE--
 <?php
 class TestSoapClient extends SoapClient {
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
        echo "$request\n";
        exit;
   }
index 3600d25ebdef407880b611926c1a39494424dc74..0f9543b715641fc0f40fe4c0e4b92a49f4e3a9f2 100755 (executable)
@@ -19,7 +19,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('EchoString');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index d05f9bd7f5faf15ae5f81e2853883c68bc260b12..b99565129c0fe5e91ff46f03c3255e37137f62ad 100755 (executable)
@@ -22,7 +22,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->setClass('fp');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 1614b5cb9f72051663ed967993500b796daca7d1..e75bd79777cdbfd6c8ba1e08b030bbe77ef3600c 100755 (executable)
@@ -24,7 +24,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('PostEvents');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                echo "$request\n";
     $this->server->handle($request);
     return $response;
index cc313e1c6eb6c5473fc96213eae067c50c2157ae..e22ebd7dcaae9c3771327828c257856cb1764a6c 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient {
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
        echo $request;
        exit;
        }
index 159b2d60e0166a92789ca836695549b0250d34e7..d882400f6f7f17e028ce612132b2df29240e97be 100755 (executable)
@@ -22,7 +22,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('PostEvents');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     echo "$request\n";
     $this->server->handle($request);
     return $response;
index fbdc529ed1525bcac08ed5c55db79b6dd84bda8f..bf3ddb0c7bd88aa145ee7c59d53627e6ca0d44eb 100755 (executable)
@@ -24,7 +24,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('PostEvents');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                echo "$request\n";
     $this->server->handle($request);
     return $response;
index 35fc61e2c8b959a221805d278042891a162b8440..9fbb032d8f7dcee98b089d2b5b306338333f708a 100755 (executable)
@@ -21,7 +21,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('echoLong');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 8737a22df2d4e3c68a6b2cf19b4f782540297a0c..d915ec0440fccc37331c23eb448a1672ea3f56b1 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache=3
 --FILE--
 <?php
 class TestSoapClient extends SoapClient {
-       function __doRequest($request, $location, $action, $version) {
+       function __doRequest($request, $location, $action, $version, $one_way = 0) {
                return <<<EOF
 <?xml version="1.0" encoding="utf-8"?>
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
index 6e92b19ef44ce684f1800274ecb7d56473c37baf..fea4f0379a7c13bd196e9f8cb09695fb8e1bc628 100755 (executable)
@@ -19,7 +19,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('Test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index dc2cb0289a2c2b6df5e11a3692a537f1a5bc463c..be20fdf9c702decef1ee766964af5c98e230b898 100755 (executable)
@@ -19,7 +19,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('Test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index ee19cdc1ae351db0671bd632041241f8ee177ce9..82b6c76f77c2eaa35c2ea001022155ddbd6fe849 100755 (executable)
@@ -20,7 +20,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('Test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 73e0e84f487c9d57e3e6d05275424310e126c711..f2e33e418806e62f21d160741ed0acd62067834b 100755 (executable)
@@ -21,7 +21,7 @@ class TestSoapClient extends SoapClient {
     $this->server->addFunction('Test');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 1dd84d601edf822fcd825b5b4194793aa89e15b0..feea46e97e59f343d9fc34115421793fcd7f0319 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class LocalSoapClient extends SoapClient {
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope
index 5b3ccbc76494314acd0c0c7fbbf7f9cdf4c84a61..caa7f6cce99ac2bb4a007be868e343cb76d39a6d 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class LocalSoapClient extends SoapClient {
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
index 6511556b584f458c86fcf50207262c3f42695ef7..3a4e099b1021796e332b3ea9a3c866f4f4512e25 100755 (executable)
@@ -16,7 +16,7 @@ class TestSoap extends SoapClient {
                $this->server->addFunction("checkAuth");
        }
 
-       function __doRequest($request, $location, $action, $version) {
+       function __doRequest($request, $location, $action, $version, $one_way = 0) {
                ob_start();
                $this->server->handle($request);
                $response = ob_get_contents();
index 0b31a2588db10c9d41a2cfc3a8b409610ec65547..818284e93239fea37032caf01621b18b8f008f21 100644 (file)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.nothing.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body>
index ac87a1682edcecdcc95fc69c6111837aebeb3543..4d0118fef43e7c295fcfef770cf52b7b222edb44 100755 (executable)
@@ -33,7 +33,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction("f");
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 3b9d678e6abae84ef253f667efdbbe3240868367..e8bf58a4f9e84490fb2bc140b3c646c916a25184 100755 (executable)
@@ -41,7 +41,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction("f");
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 9134d3d7fb89bfba93c94a27f750ca270161b13e..9ab0d3d9d18abc522852e20a2f8d7a7c5933a85f 100644 (file)
@@ -16,7 +16,7 @@ class LocalSoapClient extends SoapClient {
     $this->server->addFunction('Add');
   }
 
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
     ob_start();
     $this->server->handle($request);
     $response = ob_get_contents();
index 81a038e18a0dc0d5d1117bcba09b989a8d66fed4..a1dc01d7571a82ddd2ca278ced488ff73c750927 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.nothing.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body>
index 768cdcacdc38ed83ee6bb64474cae5cc59c6cb5e..4fe15f7f9f26bd8067f29f77bc91f1f79a98b123 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                echo $request;
                exit;
        }       
index 05f0bb06b514a00c4ebe78fd57564550fd4e0c8f..189b1c079b3ef7187d531a7ff0f5373e7778112d 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.nothing.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body>
index eebefeeca28e2a5d50074b27d4e00621be55eafb..192f6dc0d26a5769bd0fe7b334ab0ed18bb227a3 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                echo $request;
                exit;
        }       
index 5c3be6405016b21d020a545f65ad41ab90a1366a..3ec4edbe489331b25bd29929f5012b3690aa7758 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                return <<<EOF
 <?xml version="1.0" encoding="UTF-8"?>
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.nothing.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body>
index 6738ef0688a0d3824212af60e08768557af94b47..89ef50d18c321c5d5381ce5cd683bfde1f3b8b3f 100755 (executable)
@@ -7,7 +7,7 @@ soap.wsdl_cache_enabled=0
 --FILE--
 <?php
 class TestSoapClient extends SoapClient{
-  function __doRequest($request, $location, $action, $version) {
+  function __doRequest($request, $location, $action, $version, $one_way = 0) {
                echo $request;
                exit;
        }