| // +----------------------------------------------------------------------+ // // $Id: server_round2_groupC.php,v 1.7.4.2 2006/01/01 13:27:13 sniper Exp $ // 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(); ?>