B
bob
Hi,
I have an app that responds to user requests that come in by phone or
SMS.
By design, the app can only service one request at a time.
I now want to allow the app to accept requests over the web.
There is a small (couple of hundred) pool of intermittant users.
Just looking for some overall design advice.
My thinking so far is:
A web service that communicates with the App via TCP
i.e.
Web Page allows user to provide string which is posted to the
webservice.
The webservice creates an object (request) based on the string,
serializes it and sends it down channel nnnn to the app.
The app deserialises the request and processes it.
It then serializes the object again with the new info and returns it
down channel nnnn
Using TCPClient class to do the sending receiving.
Once the web service has the request back from the app it extracts the
answer string and returns it to the Web page.
I am thinking I will need a singlton in the web Service function so
that concurrent web requests are handled serially.
Am I on the right track here or is there another approach I should be
considering.
thanks
Bob
I have an app that responds to user requests that come in by phone or
SMS.
By design, the app can only service one request at a time.
I now want to allow the app to accept requests over the web.
There is a small (couple of hundred) pool of intermittant users.
Just looking for some overall design advice.
My thinking so far is:
A web service that communicates with the App via TCP
i.e.
Web Page allows user to provide string which is posted to the
webservice.
The webservice creates an object (request) based on the string,
serializes it and sends it down channel nnnn to the app.
The app deserialises the request and processes it.
It then serializes the object again with the new info and returns it
down channel nnnn
Using TCPClient class to do the sending receiving.
Once the web service has the request back from the app it extracts the
answer string and returns it to the Web page.
I am thinking I will need a singlton in the web Service function so
that concurrent web requests are handled serially.
Am I on the right track here or is there another approach I should be
considering.
thanks
Bob