Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2009

    Solved: Request handling problem (java-script)

    I have a problem handling my Request within my Widget.

    I do two kinds of request which should both work quite similar, though one doesnt work at all.
    Requested XML looks like this:

    <YMResult Version="2.0" ResultType="POI_DETAIL">
    I get the request like that:

    xmlResult = this.httpReq.responseXML;
    then i want to extract the values:

    Something like that should work:
    var poiList = xmlResult.documentElement.getElementsByTagName("PoiDetail");
    But following code leads to an exception:

    Here comes the kicker: The Code runs in Aptana-Plugin and in Firefox. But it does not on my N95 developement Phone. Is there any possibility to debug java-script widget code on my phone or any other environement where i can do so? Or has anybody have a clue what i might have done wrong?
    Last edited by Äpfel; 2009-09-15 at 09:55. Reason: solved...

  2. #2
    Registered User
    Join Date
    Sep 2009

    Re: Request handling problem (java-script)

    solved: wrt parsed the "&" to &#38 which had to be replaced to a "&" again.

    wtf i say

Similar Threads

  1. Java TCP server, Symbian Client connection problem
    By ufepuf in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2008-02-23, 19:14
  2. Java Access Point Problem
    By viren61 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-01-09, 09:45
  3. problem sending an http request with # in it.
    By jaazz in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-12-06, 10:58
  4. Installation problem for some java apps
    By seamus_rooney in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-08, 17:14
  5. How can i solve this error?
    By symbian-newbie in forum Symbian
    Replies: 6
    Last Post: 2006-05-23, 05:33

Posting Permissions

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