×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2014
    Posts
    44

    Client Server Communication Request Response Format C# Windows Phone 8.1 app

    I have one json which used to verify the user with his credential in Windows Phone 8.1 app in C#. Currently I have only below content
    I need to use client server communication which will help for Request Response

    Request-Response Format

    REQUEST

    Code:
    {
    
       "type":"$(login|sync|transaction)",
    
       "entity":"$(entity)",
    
       "action":"$(init|add|modify|delete|image|completion|search|submit)",
    
       "user":{
    
          "login":"$(login)",
    
          "password":"$(password)"
    
       },
    
       "data":[]
    
    }

    RESPONSE
    Code:
    {
    
       "status":"$(success|failure)",
    
       "message":"...",
    
       "data":[]
    
    }
    How I can proceed further??

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: Client Server Communication Request Response Format C# Windows Phone 8.1 app

    Search for windowsphone json with Bing or Google and read http://developer.nokia.com/community..._Windows_Phone.
    Note that JSON has a page, http://json.org/, listing a lot of JSON parsers, checking those could have helped too.

  3. #3
    Registered User
    Join Date
    Jul 2014
    Posts
    44

    Re: Client Server Communication Request Response Format C# Windows Phone 8.1 app

    I was successful in Simple JSON parsing For sample I tried with this json
    http://earthquake-report.com/feeds/recent-eq?json

    But now my requirement is to send the Username & password details to the Server, website where admin handling the all the task on the system, when user will put username and password, it will move to admin's system and then admin will authenticate the user and show you logging successful in his windows phone app.

    I have below data only
    1. Login

    REQUEST

    Code:
    {
    
       "type":"login",
    
       "entity":"",
    
       "action":"",
    
       "user":{
    
          "login":"$(login)",
    
          "password":"$(password)"
    
       },
    
       "data":[]
    
    }
    RESPONSE

    Code:
    {
    
       "status":"$(success|failure)",
    
       "message":"$(Login successful.|Login failed.)",
    
       "data":[]
    
    }

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,091

    Re: Client Server Communication Request Response Format C# Windows Phone 8.1 app

    You may want to search for e.g 'json post request in windows phone' to see some desired results.

Similar Threads

  1. Replies: 6
    Last Post: 2009-08-20, 13:17
  2. OMA Client Server Communication
    By vikrammadan in forum OMA DM/DS/CP
    Replies: 10
    Last Post: 2008-11-24, 06:04
  3. Client Server Communication
    By jega_ms in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-01-10, 16:37
  4. Client server communication
    By songoku83 in forum Symbian
    Replies: 6
    Last Post: 2007-09-11, 15:36
  5. Communication Client to server
    By bernie31 in forum Symbian
    Replies: 9
    Last Post: 2005-06-27, 19:15

Posting Permissions

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