×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    HttpClient example - Transaction Failed for XML file

    Hi,
    I need to get the data from a website.
    I have chosen HttpClient example for this :

    At first, I tried with S60_Platform_HTTP_Client_Example_v2_2_en.zip example, but it is throwing errors for header files
    #include <comms-infras/cs_mobility_apiext.h>
    #include <cmapplicationsettingsui.h>


    So, I am trying with this : S60_Platform_HTTP_Client_API_Example_v2_1_en.zip
    http://www.forum.nokia.com/info/sw.n..._1_en.zip.html

    It is showing the source content of the websites...
    I have tried by placing a text file in my local server...then also it shows "Transaction Succeessful"
    But if I place a xml file, then it is showing "Transaction Failed"

    Is it not supporting xml file ?

    My xml content would be like this :

    <?xml version='1.0' encoding='UTF-8' ?>
    <RESULTS>
    <ROW>
    <COLUMN NAME="ID"><![CDATA[162]]></COLUMN>
    <COLUMN NAME="QUESTION"><![CDATA[What is ur Name?]]></COLUMN>
    <COLUMN NAME="ANSWER"><![CDATA[My name is XXX]]></COLUMN>
    <COLUMN NAME="UNIVERSITY"><![CDATA[YYY University]]></COLUMN>
    <COLUMN NAME="BRANCH"><![CDATA[CSE]]></COLUMN>
    </ROW>

    </RESULTS>
    Last edited by sunitha.m13; 2009-11-10 at 12:24.
    Regards,
    Sunitha.M

  2. #2
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: HttpClient example - Transaction Failed for XML file

    Now, it is parsingthe XML file...the problem was the file name of xml (which contains "_")
    I have changed the file name to only letters, then it starts working...
    Regards,
    Sunitha.M

Similar Threads

  1. Why don't S60 emulator loading?
    By K.John in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 9
    Last Post: 2009-08-11, 11:03
  2. Carbide Build PKG file to SISX - Phone says: "Can't Install"
    By mikedeklerk in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-05-19, 08:23
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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