Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 870
user1685095 Avatar asked Oct 20 '14 12:10

user1685095


1 Answers

Content-Type: application/soap+xml

like image 91
AndreyP Avatar answered Sep 20 '22 10:09

AndreyP