Back to index

php5  5.3.10
server_round2_groupC.php
Go to the documentation of this file.
00001 <?
00002 //
00003 // +----------------------------------------------------------------------+
00004 // | PHP Version 4                                                        |
00005 // +----------------------------------------------------------------------+
00006 // | Copyright (c) 1997-2003 The PHP Group                                |
00007 // +----------------------------------------------------------------------+
00008 // | This source file is subject to version 2.02 of the PHP license,      |
00009 // | that is bundled with this package in the file LICENSE, and is        |
00010 // | available through the world-wide-web at                              |
00011 // | http://www.php.net/license/2_02.txt.                                 |
00012 // | If you did not receive a copy of the PHP license and are unable to   |
00013 // | obtain it through the world-wide-web, please send a note to          |
00014 // | license@php.net so we can mail you a copy immediately.               |
00015 // +----------------------------------------------------------------------+
00016 // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
00017 // +----------------------------------------------------------------------+
00018 //
00019 // $Id: server_round2_groupC.php 242949 2007-09-26 15:44:16Z cvs2svn $
00020 //
00021 
00022 class SOAP_Interop_GroupC {
00023     var $method_namespace = 'http://soapinterop.org/echoheader/';
00024 
00025     function echoMeStringRequest($string)
00026     {
00027         return new SoapHeader($this->method_namespace, "echoMeStringResponse", $string);
00028     }
00029 
00030     function echoMeStructRequest($struct)
00031     {
00032         return new SoapHeader($this->method_namespace, "echoMeStructResponse", $struct);
00033     }
00034 
00035     function echoVoid()
00036     {
00037     }
00038 }
00039 
00040 $server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/echoheadersvc.wsdl.php");
00041 $server->setClass("SOAP_Interop_GroupC");
00042 $server->handle();
00043 ?>