getExecution("1001","2013-1-3") 服务端总是"/> getExecution("1001","2013-1-3") 服务端总是">
Home > Backend Development > PHP Tutorial > php调用java WebService,该怎么处理

php调用java WebService,该怎么处理

WBOY
Release: 2016-06-13 12:59:08
Original
1519 people have browsed it

php调用java WebService
php调用java WebService 


java服务端方法getExecution("0303","2013-1-3")
参数都是字符串类型

php客服端调用方法  $client->getExecution("1001","2013-1-3")

服务端总是得不到 传递的参数,请高手帮忙解决。
------解决方案--------------------
查看一下请求的xml是否符合格式

$client->__getLastRequest();
Copy after login


相关的函数还有getLastResponse等~
------解决方案--------------------
你PHP引用服务的地址 不要加.wsdl哦 检查你的XML文档, 可以尝试用c#去调用JAVA的试试,c#有工具生成调用代码

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template