You Are Here:

Community: Developer Discussion Boards

#1 Old Problem pushing URL's with ampersands - 2002-05-20, 13:24

Join Date: Mar 2003
Posts: 1,733
Nokia_Archived
Offline
Super Contributor
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 Old RE: Problem pushing URL's with ampersands - 2002-05-20, 13:24

Join Date: Mar 2003
Posts: 1,733
Nokia_Archived
Offline
Super Contributor
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!
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia