| // +----------------------------------------------------------------------+ // // $Id: server_round2_groupC.php 242949 2007-09-26 15:44:16Z cvs2svn $ // class SOAP_Interop_GroupC { var $method_namespace = 'http://soapinterop.org/echoheader/'; function echoMeStringRequest($string) { return new SoapHeader($this->method_namespace, "echoMeStringResponse", $string); } function echoMeStructRequest($struct) { return new SoapHeader($this->method_namespace, "echoMeStructResponse", $struct); } function echoVoid() { } } $server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/echoheadersvc.wsdl.php"); $server->setClass("SOAP_Interop_GroupC"); $server->handle(); ?>