[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] soap interop_harness.php test_client.php test_m...
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] soap interop_harness.php test_client.php test_m... |
Date: |
Wed, 23 May 2007 13:14:12 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: soap
Changes by: Caeies <Caeies> 07/05/23 13:14:12
Modified files:
. : interop_harness.php test_client.php
test_methods_wsdl.php wsdl_harness.php
Log message:
change the soapclient to phpgw_soapclient for php 5.x compatibility
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/soap/interop_harness.php?cvsroot=phpgroupware&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/soap/test_client.php?cvsroot=phpgroupware&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/soap/test_methods_wsdl.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/soap/wsdl_harness.php?cvsroot=phpgroupware&r1=1.1.1.1&r2=1.2
Patches:
Index: interop_harness.php
===================================================================
RCS file: /cvsroot/phpgroupware/soap/interop_harness.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- interop_harness.php 23 Dec 2001 17:22:40 -0000 1.3
+++ interop_harness.php 23 May 2007 13:14:12 -0000 1.4
@@ -10,7 +10,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: interop_harness.php,v 1.3 2001/12/23 17:22:40 milosch Exp $ */
+/* $Id: interop_harness.php,v 1.4 2007/05/23 13:14:12 Caeies Exp $ */
$GLOBALS['phpgw_info']['flags'] = array(
'disable_Template_class' => True,
@@ -29,7 +29,7 @@
</script>
<?php
// get list of all endpoints from xmethods
- $soapclient =
CreateObject('phpgwapi.soapclient','http://www.xmethods.net/perl/soaplite.cgi');
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient','http://www.xmethods.net/perl/soaplite.cgi');
$endpointArray =
$soapclient->call('getAllEndpoints',array(),'http://soapinterop.org/ilab','http://soapinterop.org/ilab#getAllEndpoints');
@reset($endpointArray);
Index: test_client.php
===================================================================
RCS file: /cvsroot/phpgroupware/soap/test_client.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- test_client.php 10 Aug 2001 00:31:45 -0000 1.3
+++ test_client.php 23 May 2007 13:14:12 -0000 1.4
@@ -10,7 +10,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: test_client.php,v 1.3 2001/08/10 00:31:45 milosch Exp $ */
+/* $Id: test_client.php,v 1.4 2007/05/23 13:14:12 Caeies Exp $ */
/*
$phpgw_info['flags'] = array(
'currentapp' => 'soap',
@@ -37,9 +37,9 @@
{
$symbol = 'LNUX';
}
- $soapclient =
CreateObject('phpgwapi.soapclient',"http://services.xmethods.net:80/soap");
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient',"http://services.xmethods.net:80/soap");
echo
$soapclient->call("getQuote",array("symbol"=>$symbol),"urn:xmethods-delayed-quotes","urn:xmethods-delayed-quotes#getQuote");
-// $soapclient = CreateObject('phpgwapi.soapclient','http://' . $HTTP_HOST
. '/phpgroupware/soap.php');
+// $soapclient = CreateObject('phpgwapi.phpgw_soapclient','http://' .
$HTTP_HOST . '/phpgroupware/soap.php');
// echo 'response: ' .
$soapclient->call("hello",array($phpgw_info['server']['site_title']),"http://soapinterop.org/ilab","http://soapinterop.org/ilab#hello");
// echo $soapclient->call('echoString','hello',False,'echoString');
Index: test_methods_wsdl.php
===================================================================
RCS file: /cvsroot/phpgroupware/soap/test_methods_wsdl.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- test_methods_wsdl.php 16 Jul 2001 06:20:35 -0000 1.1.1.1
+++ test_methods_wsdl.php 23 May 2007 13:14:12 -0000 1.2
@@ -10,7 +10,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: test_methods_wsdl.php,v 1.1.1.1 2001/07/16 06:20:35 milosch Exp $ */
+/* $Id: test_methods_wsdl.php,v 1.2 2007/05/23 13:14:12 Caeies Exp $ */
$phpgw_info['flags'] = array(
'currentapp' => 'soap',
@@ -113,7 +113,7 @@
"name" => "SOAPx4 - interop test suite (dev)");
// get list of all endpoints from xmethods
- $soapclient =
CreateObject('phpgwapi.soapclient',"http://www.xmethods.net/perl/soaplite.cgi");
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient',"http://www.xmethods.net/perl/soaplite.cgi");
if($endpointArray =
$soapclient->call("getAllEndpoints",array(),"http://soapinterop.org/ilab","http://soapinterop.org/ilab#getAllEndpoints"))
{
foreach($endpointArray as $k => $v)
@@ -159,7 +159,7 @@
}
print "<br>";
print "<b>METHOD: $method</b><br>";
- $soapclient =
CreateObject('phpgwapi.soapclient',$server["wsdl"],"wsdl");
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient',$server["wsdl"],"wsdl");
//$soapclient->debug_flag = true;
$return_val =
$soapclient->call($method,$method_params[$method],$server["methodNamespace"]);
Index: wsdl_harness.php
===================================================================
RCS file: /cvsroot/phpgroupware/soap/wsdl_harness.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- wsdl_harness.php 16 Jul 2001 06:20:35 -0000 1.1.1.1
+++ wsdl_harness.php 23 May 2007 13:14:12 -0000 1.2
@@ -10,7 +10,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: wsdl_harness.php,v 1.1.1.1 2001/07/16 06:20:35 milosch Exp $ */
+/* $Id: wsdl_harness.php,v 1.2 2007/05/23 13:14:12 Caeies Exp $ */
$phpgw_info['flags'] = array(
'currentapp' => 'soap',
@@ -31,7 +31,7 @@
</script>
<?php
// get list of all endpoints from xmethods
- $soapclient =
CreateObject('soap.soapclient',array("http://www.xmethods.net/perl/soaplite.cgi"));
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient',array("http://www.xmethods.net/perl/soaplite.cgi"));
$endpointArray =
$soapclient->call("getAllEndpoints",array(),"http://soapinterop.org/ilab","http://soapinterop.org/ilab#getAllEndpoints");
foreach($endpointArray as $k => $v)
{
@@ -124,7 +124,7 @@
// loop thru test suite
foreach(array_keys($method_params) as $method)
{
- $soapclient =
CreateObject('soap.soapclient',array($server['wsdl'],'wsdl'));
+ $soapclient =
CreateObject('phpgwapi.phpgw_soapclient',array($server['wsdl'],'wsdl'));
//$soapclient->debug_flag = true;
$return_val =
$soapclient->call($method,$method_params[$method],$server['methodNamespace']);
unset($soapclient);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] soap interop_harness.php test_client.php test_m...,
Caeies <=