Posted by Guy Djemal, gdjemal@twii.net
on January 30, 2002 at 17:40
I've been trying to WAP Push a URL that contains an ampersand, something like follows:
http://wap.xyz.com?item1=hello&item2=bye
The message initially goes through the API ok, however it then reports, via the PAPPushListener I have registered the following error:
code="3000" desc="Failed to encode message."
I don't think the message is getting as far as the Activ Server as it does have any log entries for the event. I guess it must be something to do with the API, ideas anyone?
RE: Problem pushing URL's with ampersands
2002-05-20, 12:24#2
Posted by Guy Djemal, gdjemal@twii.net
on January 31, 2002 at 12:48
Figured it out, the URL (and probably message) need to be XML encoded! I reckon this is a bug in the API as I pass in a URL object not a String object!