If your client wants to use WS-Discovery to actively discover
(probe/resolve) or passively discover (hello/bye) your service look into
Function Discovery or directly using the WSDAPI (Vista's DPWS stack)
interfaces. Note that FD will only discover the service if it supports MEX,
otherwise you can use WSDAPI.
Dave Roth [MS]
Web Services on Devices
This posting is provided "AS IS" with no warranties, and confers no rights.
The use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Claus Konrad" <ClausKonrad@discussions.microsoft.com> wrote in message
>I think you should remember, that just bacause WCF has a concept of
> "remoting" or DCOM if you wish, does not make it more correct. WCF is
> a technology, it is not equal to SOA!
> The tenets of SOA is a quite good design "pattern", and only in certain
> situations would a tightly coupled system like the one presented justify.
> any circumstance, this does break the loosly coupled sence in a Service
> Anyways - this is more or less a matter of taste at the end of the day,
> isn't it?
> /Claus Konrad
> "Arkady Frenkel" wrote:
>> Hi, Claus!
>> "Claus Konrad" <ClausKonrad@discussions.microsoft.com> wrote in message
>> > You might want to take a look at UDDI (Microsoft SDK). This is the very
>> > place
>> > to search for webservices, and ALSO internally on the
>> > network. Win2003 has native support for UDDI directory.
>> > Having a WebSvs posting a "hello"; contradicts everything about SOA.
>> > A service does not inform the clients that it is ready as the service
>> > does
>> > NOT know about it's clients. Should it know about its clients, you are
>> > tying
>> > your system too hard together.
>> Correct , that against SOA tenets, but OTOH WCF have P2P schema too
>> mean client and service sit together
>> > Use the UDDI to query for active services, if you insist.
>> For me that not work ( tried to do that on XP with Admin Pack , so XP
>> be like server )
>> > --
>> > rgds.
>> > /Claus Konrad
>> > "John Paul. A" wrote:
>> >> Hi,
>> >> I have a 3rd party web service running in a Web Server within our
>> >> network.
>> >> The web service sends "Hello" message when joins the network and also
>> >> sends
>> >> "Bye" message when leaves the network.
>> >> I want to write a client code to receive the "Hello" message as well
>> >> as
>> >> the
>> >> "Bye" message sent by the web service.
>> >> Can you please suggest me a sample code, so that I can discover
>> >> (dynamically
>> >> discover) the web service using the multicast discovery protocol
>> >> (using
>> >> WS-Discovery).
>> >> Thanks in Advance
>> >> -John-