php SoapClient fails when passed a wsdl with relative path schemas

我与影子孤独终老i 提交于 2019-12-02 05:23:12
denormalizer

Just as I had suspected.

The relative path to the schema means that the SoapClient when parsing the wsdl, will try to access the schema files using the proxy as reference, like so:

http://myproxy/schema1.xsd

Since I do not have the xsd files, this will cause the SoapClient to throw an error.

The solution to this problem then is to eliminate the proxy, so that relative paths to external resources are not affected. The sollution can be found here:

Extending php SoapClient for siteminder authentication

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