Re: Web service with Push to client ?
- From: "Pablo Cibraro [MVP]" <pcibraro@xxxxxxxxxxx>
- Date: Tue, 8 Aug 2006 09:48:42 -0400
Hi Semedao,
WCF supports a P2P channel to expose services.
However, the client and the service both must use WCF, so I am not sure if
this is a good solution for you. If it is, you should take a look there.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
"semedao" <semedao@xxxxxxxxxxxxxxxx> wrote in message
news:Ozt%23x0ruGHA.4952@xxxxxxxxxxxxxxxxxxxxxxx
Hi Steven,
I need this behavior for P2P applicaiton that should be able to work also
behind NAT
if you see this article:
http://www.brynosaurus.com/pub/net/p2pnat/
We need that when client X try to connect client Y and both behind NAT ,
they need server that notify them to try connect each one , so , if I want
to implement the server as WS , I need also the option to notify client Y
that client X try to connect him , and that he also need to try connect to
client X.
If WS don't let me do it (I have the connection details of both clients) ,
I will not be able to implement TCP hole punching via WS.
before I will decide to go to my own tcp server... there is still chance
to do something ? :)
thanks
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:8oTF1bpuGHA.5988@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Semedao,
I agree with Scott, from standard webservice's perspective, there is no
server-side push mechanims or callback interface. And XML webservice is a
public service which expose its functionliaty through the service
contract(WSDL document) and let various clients to consume it. The
webservice itself should not have any sense of the client consumer or
platform. However, if we want the webservice to actively push/ping
client
side, it will require our server-side service has sufficient information
about the client-side's programming interface and platform, this is
somewhat violating the webservice standard.
BTW, such server-side push(to multiple clients) is quite expense
especially
for internet scenario. Is the webservice in your scenario work in
intranet
or internet scenario? If convenient, you can provide us some further
background info so that we can look for some other solutions according to
your scenario.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Web service with Push to client ?
- From: Steven Cheng[MSFT]
- Re: Web service with Push to client ?
- References:
- Web service with Push to client ?
- From: semedao
- Re: Web service with Push to client ?
- From: Scott M.
- Re: Web service with Push to client ?
- From: Steven Cheng[MSFT]
- Re: Web service with Push to client ?
- From: semedao
- Web service with Push to client ?
- Prev by Date: Re: Web service with Push to client ?
- Next by Date: Re: Web Service, Authentication, Security & Domains
- Previous by thread: Re: Web service with Push to client ?
- Next by thread: Re: Web service with Push to client ?
- Index(es):
Relevant Pages
|