0
我在Visual Studio MyWebService.asmx中测试过,它工作正常。从PHP调用.NET Web服务
当我从php页面运行它时,我得到了未提供的visual studio参数的异常。 我猜php代码有问题。
<?php
$client = new SoapClient("http://localhost:1144/MyWebService.asmx?WSDL");
$arr = $client->PhpWebMethod($_GET['searchtxt']);
print_r($arr);
?>