#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    How to get result from webservices


    Hi,

    i want to get result from web service as soon as they become available. For example i have given blood sample to test , so result will come after 4,5 days so i will not call to that web service every day . As the result become available they will post to my site URL.

    Currently i am trying this thing using CURL.

    if someone know about how to retrieve result as soon as they become available.

    Please reply to this Post.
    It will be grateful to me

    Thnaks
    Avinash
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,110
    Rep Power
    9398
    You can't find out precisely when it's available unless they tell you. If they can't do that then you are stuck polling them at some interval.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    9
    Rep Power
    0

    Directly posting to your site?


    If they are directly posting results to your site then you need to set up some type of script to handle incoming data.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Sep 2006
    Posts
    2,029
    Rep Power
    535
    I assume you will need to poll them.

    Also look into using a SOAP Client.

IMN logo majestic logo threadwatch logo seochat tools logo