What content type should be in http header of soap 1.2 message?

烈酒焚心 提交于 2019-12-10 13:32:33

问题


I have a problem where my xml-da client that is using zsi 2.2.2 library generating messages that look like soap 1.2 messages because I can see this line.

xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"

But I also can see text/xml as a content type in header. I can't find any notion of what header should be like in soap 1.2, but I suppose that it should be application/soap-xml.

So what it actually should be?


回答1:


Content-Type: application/soap+xml



来源:https://stackoverflow.com/questions/26465349/what-content-type-should-be-in-http-header-of-soap-1-2-message

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