<?
include('../lib/nusoap.php');
$client = new soapclient('http://localhost/test.asmx');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;   
$parame = array('parameters' =>array('yourname'=>'robin'));
$result=$client->call('show',$parame);   
print_r($result);
($client->debug_str, ENT_QUOTES), "GB2312", "UTF-8") . '</pre>';
?>返回下面的结果..
Array ( [faultcode] => soap:Client [faultstring] => System.Web.Services.Protocols.SoapException: 服务器未能识别 HTTP 标头 SOAPAction 的值:。 at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) [detail] => )