January 18th, 2013, 01:00 AM
How to get result from webservices
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
January 18th, 2013, 01:10 AM
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.
January 18th, 2013, 01:25 AM
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.
January 18th, 2013, 05:56 AM
I assume you will need to poll them.
Also look into using a SOAP Client.