4.1 Version 1.0 Probe Message
A client node in a branch office contacts a Peer Content Caching and Retrieval–capable content server to retrieve a webpage, http://vortex.example.com/sample.html. It receives a list of hashes that represent the indices of the content. The client then sends the following WSD Probe message.
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:PeerDist= "http://schemas.microsoft.com/p2p/2007/09/PeerDistributionDiscovery"> <soap:Header> <wsa:To> urn:schemas-xmlsoap-org:ws:2005:04:discovery </wsa:To> <wsa:Action> http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe </wsa:Action> <wsa:MessageID> urn:uuid:91528b47-b96d-4e30-981f-308c0586926f </wsa:MessageID> </soap:Header> <soap:Body> <wsd:Probe> <wsd:Types> PeerDist:PeerDistData </wsd:Types> <wsd:Scopes MatchBy= "http://schemas.xmlsoap.org/ws/2005/04/discovery/strcmp0"> 0200000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000 </wsd:Scopes> </wsd:Probe> </soap:Body> </soap:Envelope>
The <Types> and <Scopes> elements contain the Discovery Protocol–specific values. The <Scopes> element in this example shows only one HoHoDk.