SC, Thanks for the quick reply.
I think at this point I'll pretty much be sending a simple string. The
thing is, with a web service, I don't know, if say 5 web users have
instantiated the web service, how can my windows app call the web service and
tell it to send info to just one of the websites? Doesn't each website
instantiate the web service, and then how will the web service instantiated
through the windows application even know where to route the reply messages?
Or am I over-complicating things?
> I think at this point I'll pretty much be sending a simple string.
> The thing is, with a web service, I don't know, if say 5 web users
> have instantiated the web service, how can my windows app call the web
> service and tell it to send info to just one of the websites?
With web services, each web service is a different class - you need to pre-
generate the web service proxy beforehand. Thus, with web services, you
need to know the servers up front.
I believe there are way to dynamically generate the web service proxy on
the fly, but I have never done it before.
If you need to dynamically call/register servers ... it is very easy to do
in remoting.
> Doesn't
> each website instantiate the web service, and then how will the web
> service instantiated through the windows application even know where
> to route the reply messages? Or am I over-complicating things?
Routing reply messages is the challenging part with web services - web
services doesn't support bi-directional messaging... so you'll need 2 web
services on each box - a sender and receiver.
If bi-directional communications is a requirement, go with remoting or a
custom solution like sockets + XML?
FLDaveM - 26 Oct 2006 20:55 GMT
SC: Thanks again. I guess it's Remoting for me. Any outstanding, can't miss
articles or tutorials you know of?
Thanks,
Dave
> > I think at this point I'll pretty much be sending a simple string.
> > The thing is, with a web service, I don't know, if say 5 web users
[quoted text clipped - 22 lines]
> If bi-directional communications is a requirement, go with remoting or a
> custom solution like sockets + XML?
Spam Catcher - 27 Oct 2006 02:16 GMT
> SC: Thanks again. I guess it's Remoting for me. Any outstanding,
> can't miss articles or tutorials you know of?
How to do stateless bi-directional remoting in IIS:
http://www.codeproject.com/csharp/persistentevents.asp
How to do bi-directional remoting (non-stateless):
http://www.codeproject.com/csharp/RemotingAndEvents.asp
I hope that helps : )