3
// +----------------------------------------------------------------------+
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> Port to PEAR and more |
17
// | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author |
18
// +----------------------------------------------------------------------+
20
// $Id: server_round2_base.php,v 1.7 2004/02/05 20:26:03 dmitry Exp $
23
class SOAP_Interop_Base {
25
function echoString($inputString)
30
function echoStringArray($inputStringArray)
32
return $inputStringArray;
36
function echoInteger($inputInteger)
41
function echoIntegerArray($inputIntegerArray)
43
return $inputIntegerArray;
46
function echoFloat($inputFloat)
51
function echoFloatArray($inputFloatArray)
53
return $inputFloatArray;
56
function echoStruct($inputStruct)
61
function echoStructArray($inputStructArray)
63
return $inputStructArray;
71
function echoBase64($b_encoded)
76
function echoDate($timeInstant)
81
function echoHexBinary($hb)
86
function echoDecimal($dec)
91
function echoBoolean($boolean)
96
function echoMimeAttachment($stuff)
98
return new SOAP_Attachment('return','application/octet-stream',NULL,$stuff);
102
$server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/interop.wsdl.php");
103
$server->setClass("SOAP_Interop_Base");
b'\\ No newline at end of file'