鼠笼管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
squirrel_cage/application/library/Tool/Soapservernew.php

13 lines
461 B

<?php
class Tool_Soapservernew extends SoapClient
{
public function __doRequest($request, $location, $action, $version, $one_way = 0)
{
$request = parent::__doRequest($request, $location, $action, $version, $one_way);
$start = strpos($request, '<soap');//根据实际情况做处理。。。,如果是<?xml开头,改成<?xml
$end = strrpos($request, '>');
return substr($request, $start, $end-$start+1);
}
}
?>