check against API 18
setting Content-Type to "application/xml"