Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

I want to Dynamically Discover Web Services

 
 
Thread Tools Display Modes
Old 10-21-2006   #1 (permalink)
John Paul. A
Guest


 

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-
Old 10-24-2006   #2 (permalink)
Claus Konrad
Guest


 

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-

Old 10-25-2006   #3 (permalink)
Arkady Frenkel
Guest


 

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-



Old 10-25-2006   #4 (permalink)
Claus Konrad
Guest


 

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-

>
>
>

Old 11-14-2006   #5 (permalink)
Dave Roth [MS]
Guest


 

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-

>>
>>
>>


 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Can't open discover either PA Bear [MS MVP] Vista networking & sharing 1 04-27-2008 03:23 PM
Dynamically Drawing Objects kmttern Avalon 0 03-25-2008 09:51 AM
Please help discover IIS by WMI Alexander Vasilevsky PowerShell 5 11-27-2007 01:46 PM
Creating a hashtable dynamically Marco Shaw PowerShell 1 02-21-2007 07:20 AM
Creating WMI Discover WinPEs Or Tsemah Vista General 1 12-11-2006 10:17 AM








Vistax64.com 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 2005-2008

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 47 48 49 50