Php Nusoap更改返回名称

Php Nusoap更改返回名称,php,nusoap,Php,Nusoap,我想将当前为“return”的标记更改为“result”。像这样: <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="htt

我想将当前为“return”的标记更改为“result”。像这样:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
  <ns1:AuthenticateResponse xmlns:ns1="http://tempuri.org">
     <***return***>
     <Result xsi:type="xsd:string">OK</Result>
     </***return***>
  </ns1:AuthenticateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

好啊
(请参见
***
之间的值)


这可能吗?如果是这样,怎么做?

我自己通过更改nusoap.php文件(
第4143行)来解决这个问题,如下所示:

原件:

$return_val = $this->serialize_val($this->methodreturn, 'return');
编辑代码:

$return_val = $this->serialize_val($this->methodreturn, 'result');
我打赌有更好的方法来处理这个问题,但这为我解决了这个问题