06-30-2010 07:15 AM
I'm connecting to a .net webservice using JSR 172, and have a problem (on BlackBerry devices) when sending non-ASCII characters. The characters appear to be encoded correctly, but they are not handled correctly on the server-side. The device is sending a content-type of "text/xml", whereas other devices are sending "text/xml; charset=utf-8", which seems to work fine.
Is there a way I can change the content-type string in the request?