Re: several responses from same webservice?

From: Davey (david.mcshane_at_terminalfour.com)
Date: 10/28/04


Date: 28 Oct 2004 03:51:28 -0700

Hi Dino,
yes, the polling approach would work for the reporting alright.
The idea of having both apps with a webservice could also be an good
enough solution (although it might be a bit longwinded). I think it
might be wasteful for the server app to connect to the client
webservice and send data for every event.

So I was thinking something like this might be better.
1 - A client uses a webservice to notify the server app that it wants
START to do reports on events coming into the server. The server app
responds stating that it is in report mode.
2 - The server then collects information on incoming events
3 - Then every minute (if there are any events) it connects to the
clients webservice and passes this information to it.
4 - At any stage the client app can call the servers webservice to
STOP sending events.

Remoting sounds good aswell but i've only started reading about it.
Think I need to read more about both technologies!

Thanks guys, Its good to know we have a few options.
:)
Dave

"Dino Chiesa [Microsoft]" <dinoch@online.microsoft.com> wrote in message news:<eFF$1sDvEHA.3748@TK2MSFTNGP10.phx.gbl>...
> there is a WS-Eventing spec that covers this model of communication, but it
> is just a spec, not implemented and available in the framework yet.
>
> the downside with the use of remoting is that it is a non-standard model.
>
> since your client "waits for responses" from the server anyway, there are
> two approaches worth exploring: one is the polling mechanism. when the
> client wants more data, it should just ask, "any more for me?" and the
> server can hand it over.
>
> else, the client itself can expose a webservice interface, and the server
> can call it back. there are examples of this, using cassini. the client
> and server then act more as peers. both can initiate the dialog.
>
>
>
> "Davey" <david.mcshane@terminalfour.com> wrote in message
> news:791b99c2.0410270030.1b2a5f58@posting.google.com...
> > Hi Alex,
> > Thanks for the reply. Yes,I wasnt sure if web services were built for
> > that kind of scenario. I'll look into remoting. Thanks again.
> > Dave
> >
> >
> > "Trebek" <alextrebek@intheformofaquestion.com> wrote in message
> > news:<AOyfd.710$b%5.305@fe37.usenetserver.com>...
> >> Dave,
> >>
> >> I would say this is a better candidate for remoting vs a webservice. Web
> >> services really don't offer much with regard to 'persistent' connections
> >> since it really is simple http request/response under the soap covers.
> >> You
> >> usually have to establish some sort of polling architecture if you want
> >> to
> >> drive things from the client. You can always host your remote object in
> >> IIS. It's very simple and would offer you much of the same web service
> >> benefits.
> >>
> >> Alex
> >>
> >>
> >> "Davey" <david.mcshane@terminalfour.com> wrote in message
> >> news:791b99c2.0410260051.658710fa@posting.google.com...
> >> > hi there
> >> > Im new to webservices and I think they can help solve a communication
> >> > problem.
> >> > We are designing a system that will have a core server type
> >> > application and several client applications.
> >> > The core application will have a webserver bolted on so all the client
> >> > apps can communicate with it.
> >> > Each of the client apps will only ever use one of the webservices
> >> > available.
> >> >
> >> > Once a request is made to the webservice, there may be several
> >> > responses to that cient app,each sending the same type of information.
> >> > This is because the client is doing reports on the information from
> >> > the server app.
> >> > The server app cannot do the reports.

> >> >
> >> > So my questions are:
> >> > Can I have an application connect to a webservice and recieve several
> >> > responses? i.e. can i have it sit and wait for responses
> >> > Can I send a cancel request after the webservice has provided enough
> >> > information?
> >> > Should we use webservices?
> >> >
> >> > The main reason we want to use webservices is that we have some older
> >> > apps in c++ that we want to integrate with the new ones.
> >> > :)
> >> >
> >> > Any help would be great
> >> > Thanks
> >> > Dave



Relevant Pages

  • RE: Using kerberosSecurity Throws Security Exception
    ... I am experiencing this error while trying to use a Windows XP client ... application to access a web service located on a W2k3 server. ... client app on the server, ... > Account with a Custom Principal Name using SetSPN.exe utility. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Questions about Remoting, objects, threading. lease lifetime and object cleanup, and a couple of
    ... so long as the Client app is ... always refering to the same server object. ... it sets its ClassOne object to nothing and goes away. ... >>The client app at some point is going to become an ASP.Net app also. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: 404 Not Found
    ... Can a config file possibly tell it not to look in hte GAC? ... what's the current trustLevel of your ASP.NET webservice on the server ... >> whether it is client side related..... ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Remoting or windows service
    ... Thanks for writing up such a decent overview of the remoting dev process ... the client and the server. ... > 2) Implement this class in the server app and say that it can be accessed ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Webservice problem (after iisreset)
    ... I was speaking about whatever means you're suing the make the call from the client. ... If it already waits one minute for the failure then it sounds like the timeout is already high enough. ... So use wsdl.exe to generate a .NET proxy to your webservice to see if that style of client has the same problems or not. ... If it does, then it sounds like something on the server, if it does not then it's likley your HTC framework. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)