×

Discussion Board

Results 1 to 4 of 4

Thread: JSON or XMLRPC

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    7

    JSON or XMLRPC

    Hi Friends,

    I need your help.

    I am developing one application, which requires communication with server.

    My server supports both json and xmlrpc.

    I am able to use xmlrpc but i think it is too heavy for flash lite. After 7 or 8 server request i got memory issues.

    I heard that json is light weight protocol to send and recieve data.

    So now my problem is that i want to send json data to my server without key value pair method( LoadVars uses key-value pair).

    So is there any body who can help me regarding this.

    Thank in advance.

    Regards
    Ashish

  2. #2
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: JSON or XMLRPC

    Try here:

    http://inner.geek.nz/archives/2007/0...ctionscript-2/

    or if you want to implement something new then you could try SWX.
    http://swxformat.org/

    regards,

    Mark
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    7

    Re: JSON or XMLRPC

    Quote Originally Posted by markadoherty View Post
    Try here:

    http://inner.geek.nz/archives/2007/0...ctionscript-2/

    or if you want to implement something new then you could try SWX.
    http://swxformat.org/

    regards,

    Mark
    Thanks for your help mark.

    The link given by you is not mentioning how to post data also.

    I have seen that XML class in flash lite is able to send only post data. not in key value pair. I dont know how the people in adobe developed only sending post data in XML class.

    Is there any body who can help me.

    Regards
    Ashish

  4. #4
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: JSON or XMLRPC

    Hi Ashish,

    You should investigate with SWX which does what you are looking for JSON using HTTP.

    http://swxformat.org

    Regards,

    Mark
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

Similar Threads

  1. JSON In J2ME
    By xgamerx in forum Mobile Java General
    Replies: 6
    Last Post: 2010-11-18, 03:26
  2. JSON in Symbian C++
    By xueliangliang in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2010-04-22, 15:52
  3. Sending Json from phone to server
    By rager in forum Python
    Replies: 16
    Last Post: 2008-12-04, 11:27
  4. Xmlrpc
    By earamsey in forum Mobile Java General
    Replies: 2
    Last Post: 2008-10-09, 07:11
  5. Using XMLRPC and PHP in J2ME
    By davideikeland in forum Mobile Java General
    Replies: 0
    Last Post: 2006-05-04, 02:20

Posting Permissions

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