![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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- |
| | #2 (permalink) |
| 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- |
| | #3 (permalink) |
| 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- |
| | #4 (permalink) |
| 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- > > > |
| | #5 (permalink) |
| 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 |