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

user1685095 picture user1685095 · Oct 20, 2014 · Viewed 29.1k times · Source

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?

Answer

AndreyP picture AndreyP · Dec 29, 2016

Content-Type: application/soap+xml