Is the Namespace for a SOAP Web Service case sensitive?
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
"Server did not recognize the value of HTTP Header Soapaction"
I did some searching for the issue and开发者_JAVA技巧 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://webservice/ServiceName
and the namespace for the previous web service in production looks like this
https://webservice/servicename
Does case matter? Should they match exactly?
They should match exactly: http://www.w3.org/TR/REC-xml-names/#NSNameComparison/
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
Yes. Everything in XML is case sensitive.
精彩评论