1
我需要能夠限制通過服務器端的nuSOAP的send_response()方法發送的內容。刪除響應頭 - nuSOAP服務器端實例
當$服務器 - >服務($ HTTP_RAW_POST_DATA),它會自動調用私有方法send_response()
https://sourcecodebrowser.com/nusoap/0.7.3/class_8soap__server_8php_source.html(見行236 - 282
我需要在服務器級別來抑制這個頭。任何幫助將非常感謝。這是我的一段代碼
$server = new soap_server();
$server->configureWSDL ("wsprocessor", "urn:wsprocessor");
$server->register ("getRequestReturnResponse", array (
"$inputXml" => "xsd:string"
), array (
"return" => "xsd:string"
), "urn:wsprocessor", "urn:wsprocessor#getRequestReturnResponse", "rpc", "encoded", "Get Response back from server as XML String");
$server->service ($HTTP_RAW_POST_DATA);