php调用java WebService
java服务端方法getExecution("0303","2013-1-3")
参数都是字符串类型php客服端调用方法 $client->getExecution("1001","2013-1-3")服务端总是得不到 传递的参数,请高手帮忙解决。
java服务端方法getExecution("0303","2013-1-3")
参数都是字符串类型php客服端调用方法 $client->getExecution("1001","2013-1-3")服务端总是得不到 传递的参数,请高手帮忙解决。
$client->__getLastRequest();相关的函数还有getLastResponse等~
$client = new SoapClient('http://127.0.0.1:8080/myws/services/ReceiveProjectImplPort?wsdl');
$client->soap_defencoding = 'utf-8';
$client->xml_encoding = 'utf-8'; $i=$client->getExecution("1001","2013-1-3","xiw")
使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。
--------------------------------------------------------------------------------文档的顶层无效。处理资源 'http://zzsc/test.php' 时出错。第 1 行,位置: 434 <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" x...
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <getExecutionResponse xmlns="http://webservice.moa.taiji.com/">
<return xmlns="">nullnullnullnullnullnullnullnullnullnullnullnullnullnullnull</return>
</getExecutionResponse>
</soapenv:Body>
</soapenv:Envelope>
应该还需要键名,应从 wsdl 中获取