XML response parsing crashes on strange Content-Type header (XOP)
Hello all,
I have discovered the following problem (jquery 1.4.2). I use $.ajax to send a request to a XML-responding webservice. This webservice sends and unusual Content-Type HTTP header which leads to a parsing error and calling the error callback function.
Normally, a Content-Type header looks like:
- text/xml;charset=utf-8
but this time it is generated with help of the XOP which implies sending binary data, so the HTTP Content-Type header looks like e.g.:
- multipart/related;start="<rootpart*8d077d6b-19a4-4725-9ee2-f87f841541ad@example.jaxws.sun.com>";type="application/xop+xml";boundary="uuid:8d077d6b-19a4-4725-9ee2-f87f841541ad";start-info="text/xml"
Is anybody familiar with this problem? Thank you for advice.
kind regards