SoapServer maps functions incorectly when the wsdl messages have the same part name

 ̄綄美尐妖づ 提交于 2019-12-06 08:29:34

You can change the binding style in your wsdl from 'document' to 'rpc'.

First I thought it is a cache problem as your posted server code above does not contains the ini_set() to disabled the cache. But is isn't a cache problem.

Having traced http traffic. Client seems working porperly it is a SoapServer problem. (Like you mentioned).. Further investigating ...

A bug report has already been filed - although it is currently unclear if it is a bug.

Workarounds are mentioned in the bug report too. You can change the binding style to rpc if this is ok for you:

Change

<soap:binding style="document"

to

<soap:binding style="rpc"

This workaround works for me. You will find a very interesting article on how binding styles work here. This may help you to decide whether rpc binding style is ok for you or not.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!