soap 1.2消息的http标头中应包含什么内容类型? [英] What content type should be in http header of soap 1.2 message?

查看:265
本文介绍了soap 1.2消息的http标头中应包含什么内容类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,我的使用zsi 2.2.2库的xml-da客户端生成的消息看起来像soap 1.2消息,因为我可以看到此行.

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"

但是我也可以在标题中看到text/xml作为内容类型.我找不到关于肥皂1.2应该是什么样的标题的任何概念,但我想应该是application/soap-xml.

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.

那实际上应该是什么?

推荐答案

内容类型:application/soap + xml

Content-Type: application/soap+xml

这篇关于soap 1.2消息的http标头中应包含什么内容类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆