I am using version 1.1.0.
Problem:
Function xhrPost is makeing an urlencoding of the content before sending it.
Example:
dojo.xhrPost({
url: "/portal/trlService",
handleAs: "xml",
headers:{"SOAPAction":""},
content:{"mytest":"<"},
contentType: "text/xml;charset=iso-8859-1" });
};
Output from the browser:
POST /portal/trlService HTTP/1.1
Accept: */*
Accept-Language: en-US,sv;q=0.5
Referer: http://localhost:8080/portal/programversion.htm
x-requested-with: XMLHttpRequest
Content-Type: text/xml;charset=iso-8859-1
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)
Host: localhost:8080
Content-Length: 415
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=B331E893E15F6D2EB75F56A57392530A
mytest=%3C
output result: "mytest=%3C" but I shall be "mytest=<"

Try the raw XHR POST with
Try the raw XHR POST with the postData argument instead:
url: "/portal/trlService",
handleAs: "xml",
headers:{"SOAPAction":""},
postData:"mytest=<",
contentType: "text/xml;charset=iso-8859-1"
});
Thanks!
It is working.