Home  >  Article  >  Backend Development  >  *wsdl error: phpType is struct, but value is not an array *该怎么处理

*wsdl error: phpType is struct, but value is not an array *该怎么处理

WBOY
WBOYOriginal
2016-06-13 13:50:12933browse

*************wsdl error: phpType is struct, but value is not an array *********
PHP调用JAVA webservice时发生如此错误
java类的参数类型为String

------解决方案--------------------
有代码吗?接下来我也要做这个。学习一下。
------解决方案--------------------
php类型为结构,但值却是非数组形式,呵呵纯粹翻译下了,相信你自己也懂,具体的还是贴代码吧
帮你在网上搜了下,贴一个与你类似的:
http://www.phpx.com/happy/archiver/tid-135325.html
------解决方案--------------------
真高...我就从来没调用成功过...
------解决方案--------------------
我觉得都慢用标准的xml通信的,输的值或传递的参数应为xml数据类型定义,应该是可以的

Statement:
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