I have an application which used to access XML data through an HTTPConnection. In my upgrade, I'm trying to move from the text-based XML protocol to WBXML, binary representation of XML. Because it's binary, it uses all 8 bits of the characters.

Does anybody know if this will work through the various gateways and whatnots on the real phones? The app works beautifully in the emulators and is clearly making the requests correctly over the actual phones (the server sees the requests come in) but at that point I get a "javaLangException: Illegal input format" error on the device. I'm wondering if the binary format is messing things up.

Any thoughts? Thanks.