Table of contents
TOC
Collapse the table of content
Expand the table of content

Device Control Scenarios

Last Updated: 11/22/2016

The Device Control scenario tests simple SOAP message exchanges.

The goal for this scenario is not discovery of the Hosted Service endpoints. This scenario assumes these endpoints were discovered or provided before this scenario. For this scenario, these endpoints have to be addressable on the physical network. For more information, see the initial test device setup diagram in WSDBIT Testing Environment.

Case Client action Server action Pass-Fail criteria 2.1

OneWay method

2.1.1

Calls the OneWay method of the SimpleService with:

Displays the integer that is received from the OneWay method.

The integer that was sent is the integer that was displayed.

2.2

TwoWay method

2.2.1

Calls the TwoWay method of the SimpleService with:

Responds to the client by using the TwoWayResponse method with:

The sum parameter that is received by the client is indeed the sum of the integer values sent in the TwoWay method.

2.3

TypeCheck method

2.3.1

Calls the TypeCheck method of the SimpleService with:

Responds to the client by using the TypeCheckResponse method with:

The boolean, decimal, float, and list of xs:anyURI parameters are displayed correctly at the device before they are echoed back to the client. The parameters are again displayed correctly as they are received at the client.

2.4

AnyCheck method

2.4.1

Calls the AnyCheck method of the SimpleService with:

Responds to the client by using the TypeCheckResponse method with:

The XML fragment that was sent from the client is displayed correctly at the device before it is echoed back to the client. The XML fragment is again displayed correctly when it is received at the client.

Send comments about this topic to Microsoft

© 2017 Microsoft