Partager via


Discovery and Metadata Exchange Message Patterns (Windows Embedded CE 6.0)

1/6/2010

Device hosts and client applications that are compliant with Device Profile for Web Services (DPWS) communicate over the network using a series of SOAP messages sent using UDP and HTTP.

The following diagram shows an overview of the expected UDP and HTTP traffic between a device host and client application.

Ee498853.fd1115b4-1d5f-49b4-9dc6-0c11368cbc3f(en-US,WinEmbedded.60).gif

Hello, Bye, Probe, Resolve, and Get messages are all generated without network solicitation; these messages are used to announce device state or to issue a search request. ProbeMatches, ResolveMatches, and GetResponse messages are responses to Probe, Resolve and Get messages.

Applications and hosts send messages using various protocols, as shown in the following table.

Message Protocol

Hello, Bye, Resolve, ResolveMatches

UDP

Get, GetResponse

HTTP or HTTPS

Probe, ProbeMatches

UDP in most cases, but HTTP or HTTPS in a directed discovery scenario

For more information about directed discovery message patterns and troubleshooting application using directed discovery, see this Microsoft Web site.

The following list shows the typical sequence of messages. Not all messages are mandatory.

  1. Hello
  2. Probe
  3. ProbeMatches
  4. Resolve
  5. ResolveMatches
  6. Get (metadata exchange request)
  7. GetResponse
  8. Bye

See Also

Concepts

About Web Services on Devices