是命名空间为SOAP的Web服务区分大小写? [英] Is the Namespace for a SOAP Web Service case sensitive?
问题描述
我尝试部署,我改变一台机器一个Web服务,当我测试出的一个Web方法我得到了一个错误,说明
I tried deploying a web service that I changed to a machine and when I tested out one of the web methods I got an error stating
服务器不承认HTTP头SOAPACTION的价值
"Server did not recognize the value of HTTP Header Soapaction"
我做了一些搜索的问题和错误似乎出现在时间当在命名空间中的差异。我看了一下什么是工作在我的发展环境和空间看起来有点像这样
I did some searching for the issue and that error seems to occur at times when there is a difference in namespace. I looked at what is working in my development environment and the namespace looks somewhat like this
https://开头的web服务/服务名称
和命名空间为生产previous Web服务看起来像这样
and the namespace for the previous web service in production looks like this
https://开头的web服务/服务名称
请问情况有关系吗?应该严丝合缝?
Does case matter? Should they match exactly?
推荐答案
他们应该完全一致:的 http://www.w3.org/TR/REC-xml-names/#NSNameComparison/
They should match exactly: http://www.w3.org/TR/REC-xml-names/#NSNameComparison/
下面的URI引用都是 为的目的不同 识别名称空间,因为它们 不同的情况:
The URI references below are all different for the purposes of identifying namespaces, since they differ in case:
•HTTP://www.example.org/wine
•http://www.example.org/wine
•HTTP://www.Example.org/wine
•http://www.Example.org/wine
•HTTP://www.example.org/Wine
•http://www.example.org/Wine
这篇关于是命名空间为SOAP的Web服务区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!