Using DPWS Namespaces
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
More than a dozen DPWS namespaces, derived from the DPWS device stack DLLs, enhance your development options in the .NET Micro Framework. The DPWS device stack DLLs (MFDpwsDevice.dll and MFWsStack.dll) includes the following namespaces.
Namespace |
Description |
---|---|
Dpws.Device |
Provides a class that represents the DPWS device stack, and classes that hold properties that are used by the DPWS stack. Contained in MFDpwsDevice.dll. |
Dpws.Device.Services |
Contains classes used to create and manage event sources, and classes for working with hosted service endpoints, operations and events. Contained in MFDpwsDevice.dll. |
Ws.Services |
Provides classes for collections of service endpoints managed by a transport host, and the operations they expose. Contained in MFWsStack.dll. |
Ws.Services.Faults |
Contains classes used to build and raise fault response messages. Contained in MFWsStack.dll. |
Ws.Services.Mtom |
Contains classes used to process MTOM parts in SOAP messages. Contained in MFWsStack.dll. |
Ws.Services.Soap |
Provides a class and an enumerated type for parsing SOAP messages. Contained in MFWsStack.dll. |
Ws.Services.Transport |
Contains a class that provides basic network services. Contained in MFWsStack.dll. |
Ws.Services.Utilites |
Provides classes for displaying debug output, representing time durations, and validating URIs based on UUIDs. Contained in MFWsStack.dll. |
Ws.Services.WsaAddressing |
Contains classes used to process WS-Addressing header information. Contained in MFWsStack.dll. |
Ws.Services.Xml |
Contains classes used to process XML. Contained in MFWsStack.dll. |
The DPWS client DLL (MFDpwsClient.dll) includes the following namespaces.
Namespace |
Description |
---|---|
Dpws.Client |
Provides classes for creating DPWS clients. |
Dpws.Client.Discovery |
Contains classes for working with client probe and resolve requests. |
Dpws.Client.Eventing |
Contains classes for subscribing to events |
Dpws.Client.Transport |
Contains classes for sending and receiving HTTP requests. |
Note
If you transmit types across the network that are unsupported by DPWS, you should wrap them in a complex type prior to transmission.