×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    Problem pushing URL's with ampersands

    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?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    RE: Problem pushing URL's with ampersands

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •