![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| | #5 (permalink) |
| | 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 Specs![]() |
| 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 | |||