Is the following allowed according to the SOAP spec?
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
000 OK.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<SOAP-ENV:Body>
<m:GetLastTradePriceResponse xmlns:m="Some-URI">
<Price>34.5</Price>
</m:GetLastTradePriceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Note the “000 OK.” I can’t find anything about it in the official spec: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/
I’m sure the spec says that the payload needs to be XML. This is not XML.