What does X-Backside-Transport Header do?

谁说我不能喝 提交于 2020-01-23 04:40:29

问题


I have come across this header for the first time and not sure what it does or mean. I have searched around and couldn't find what I was looking for.

I am trying to consume a SOAP API using PHP SoapClient class and it's returning an empty response and these response headers. Also, no exception is thrown.

HTTP/1.1 200 OK
X-Backside-Transport: FAIL FAIL,FAIL FAIL
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml
Date: Tue, 21 Jun 2016 20:09:50 GMT
X-Client-IP: xx.xxx.xxx.xxx

Any help is appreciated.


回答1:


It seems that the web service you're trying to communicate is behind the xml firewall (probably IBM DataPower, it does send X-Backside-Transport header on failere) and blocks the error response (aka. fault message). This is the default behaviour for the xml firewalls. Root cause can be malformed soap message (i.e.: wrong data type) or an server site exception.

In order to solve the problem, you should contact with the web service owner.




回答2:


I've seen this in the past when communicating with IBM Backends, in my experience it has also been joined with a HTTP 401 Unauthorised. The reason for the error on my side was because of duplicate headers (e.g. sending the same head twice...)

Hope this helps.



来源:https://stackoverflow.com/questions/37953782/what-does-x-backside-transport-header-do

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