Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - I want to Dynamically Discover Web Services

 
 
Old 10-21-2006   #1 (permalink)
John Paul. A


 
 

I want to Dynamically Discover Web Services

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-

My System SpecsSystem Spec
Old 10-24-2006   #2 (permalink)
Claus Konrad


 
 

RE: I want to Dynamically Discover Web Services

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.

Use the UDDI to query for active services, if you insist.

--
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-

My System SpecsSystem Spec
Old 10-25-2006   #3 (permalink)
Arkady Frenkel


 
 

Re: I want to Dynamically Discover Web Services

Hi, Claus!
"Claus Konrad" <ClausKonrad@discussions.microsoft.com> wrote in message
news:02C5A175-9AA7-4CDB-9533-07CE2D65703F@microsoft.com...
> 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 which
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 should
be like server )

Arkady

>
> --
> 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-



My System SpecsSystem Spec
Old 10-25-2006   #4 (permalink)
Claus Konrad


 
 

Re: I want to Dynamically Discover Web Services

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 merely
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. In
any circumstance, this does break the loosly coupled sence in a Service
Architecture.

Anyways - this is more or less a matter of taste at the end of the day,
isn't it?
--
rgds.
/Claus Konrad


"Arkady Frenkel" wrote:

> Hi, Claus!
> "Claus Konrad" <ClausKonrad@discussions.microsoft.com> wrote in message
> news:02C5A175-9AA7-4CDB-9533-07CE2D65703F@microsoft.com...
> > 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 which
> 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 should
> be like server )
>
> Arkady
>
> >
> > --
> > 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-

>
>
>

My System SpecsSystem Spec
Old 11-14-2006   #5 (permalink)
Dave Roth [MS]


 
 

Re: I want to Dynamically Discover Web Services

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]
Program Manager
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
news:3AD3AE6F-8887-467F-B49B-C47F82BDE3D8@microsoft.com...
>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
> merely
> 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.
> In
> any circumstance, this does break the loosly coupled sence in a Service
> Architecture.
>
> Anyways - this is more or less a matter of taste at the end of the day,
> isn't it?
> --
> rgds.
> /Claus Konrad
>
>
> "Arkady Frenkel" wrote:
>
>> Hi, Claus!
>> "Claus Konrad" <ClausKonrad@discussions.microsoft.com> wrote in message
>> news:02C5A175-9AA7-4CDB-9533-07CE2D65703F@microsoft.com...
>> > 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
>> which
>> 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
>> should
>> be like server )
>>
>> Arkady
>>
>> >
>> > --
>> > 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-

>>
>>
>>


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
can't turn on network discover Network & Sharing
Re: Vista does not discover printer Vista print fax & scan
Re: Vista does not discover printer Vista print fax & scan
Re: Can't open discover either Vista networking & sharing
Please help discover IIS by WMI PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46