Discovery Proxy: This space left intentionally blank

WS-Discovery defines how a Client should switch from multicast behavior if there is a Discovery Proxy, but WS-Discovery does not define the protocol for talking to a Discovery Proxy; the intention is to allow WS-Discovery to compose with other, existing or new, registry-like protocols.

For example, either UDDI and LDAP would be credible protocols for a Discovery Proxy. If a UDDI server were acting as a Discovery Proxy, it would send a WS-Discovery Hello in response to any multicast Probe or Resolve. The Hello would include d:DiscoveryProxy in Types as well as something to indicate that it understands UDDI too, e.g., UddiV3:UDDI_Inquiry_PortType.

<s:Envelope>
  <s:Header>
    <a:Action>
        http://schemas.xmlsoap.org/ws/2004/02/discovery/Hello
    </a:Action>
    ...
  </s:Header>
  <s:Body>
    <s:Hello>
      <a:EndpointReference>
        <a:Address>
            http://uddi.dayton.corp.example.com
        </a:Address>
      </a:EndpointReference>
      <d:Types>
          d:DiscoveryProxy
          d:TargetService
          UddiV3:UDDI_Inquiry_PortType
      </d:Types>
      <d:MetadataVersion>76882</d:MetadataVersion>
    </s:Hello>
  </s:Body>
</s:Envelope>

A Client receiving the above Hello would know:

  • It should not send multicast Probe or Resolve messages
  • It may communicate with the Discovery Proxy at the provided EPR (in italics above) using messages indicated by UddiV3:UDDI_Inquiry_PortType


Posted Oct 15 2004, 01:43 PM by jeffrey-schlimmer

Comments

Jeffrey Schlimmer's Blog wrote WS-Discovery Updates
on 10-28-2004 12:40 PM
Krishna wrote re: Discovery Proxy: This space left intentionally blank
on 07-20-2005 1:36 AM
Do we have any protocols to talk with Discovery Proxy using WS-Discovery. Do we have any interfaces for this WS-Discovery or still under specs.
Jeffrey Schlimmer wrote re: Discovery Proxy: This space left intentionally blank
on 07-20-2005 11:02 AM
By design, WS-Discovery places very few constraints on a Discovery Proxy. This allows both the use of existing registries (like UDDI) as well as new designs.
Peter wrote re: Discovery Proxy: This space left intentionally blank
on 09-15-2005 4:23 AM
If I understand WS-Discovery right, a client sends the same messages in unicast mode to the discovery-proxy as it would send multicast messages to all devices if there wouldn't be a discovery-proxy.
Jeffrey Schlimmer wrote re: Discovery Proxy: This space left intentionally blank
on 09-15-2005 6:28 AM
If a discovery proxy indicates that it supports another protocol (like UddiV3:UDDI_Inquiry_PortType), the client has a choice: it may use either the new protocol to communicate with the discovery proxy, it may use unicasting Probe or Resolve messages, or it may use both.
Jari Kristensen wrote re: Discovery Proxy: This space left intentionally blank
on 03-20-2006 3:46 PM
Question: If a DP responds to a probe from a client by sending a "Hello" as prescribed above and then proceeds to respond with a probematch with zero matches as no matching target service is known to the DP, - wouldn't the DP have to forward future "Hello"'s from target services to the clients currently under DP management or does the client continue to listen for multicast "Hello"s?

Jari
Jeffrey Schlimmer wrote re: Discovery Proxy: This space left intentionally blank
on 03-20-2006 3:59 PM
Yes: the DP (probably) forwards subsequent Hello from Target Services to Clients under DP management; the details are specific to the DP<->Client protocol. Per Section 3, Page 12 of WS-Discovery, after receiving a Hello from a Discovery Proxy, "Clients do not send Probe and Resolve messages multicast but instead unicast directly to one or more DP whilst ignoring multicast Hello and Bye from Target Services."
Jari Kristensen wrote re: Discovery Proxy: This space left intentionally blank
on 03-20-2006 4:35 PM
Just wanted to confirm another behavior as stated in the spec. Target Services does not change behavior with respect to Hello's and Bye's in the presence of a DP? - In other words, a Target Service has no awareness of a DP and communicates with a DP as if it was a client.

Jari
Jari Kristensen wrote re: Discovery Proxy: This space left intentionally blank
on 03-20-2006 4:42 PM
Finally I believe the "Hello" msg above is missing a required component according to pg 15 in the Discovery spec. In addition to d:DiscoveryProxy, a "Hello" MUST include explicitly a d:TargetService.
If "UddiV3:UDDI_Inquiry_PortType" is fulfilling this requirement, please elaborate on how?

Jari
Jeffrey Schlimmer wrote re: Discovery Proxy: This space left intentionally blank
on 03-20-2006 5:29 PM
Correct. A Target Service is not required to change behavior in the presence of a Discovery Proxy. A DP protocol might define richer DP<->Target Service messages.

Correct again. The message above now includes d:TargetService.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?