O'Reilly logo

Programming Microsoft® Robotics Studio by Sara Morgan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing State

In the preceding section, titled Sending and Receiving Messages, you saw the basic code requirements for handling messages. Messages are used for requests or responses dealing with state. Sometimes, it may be necessary to change the state associated with a service. In this section, we will look at the ways you can manage state.

Posting Data to an Internal Port

In the last section, the Get operation was used to retrieve the state for a service. The state was posted to the main port for the service, which resulted in a SOAP message appearing in the Internet browser. Alternatively, state can be posted to an internal port. This is useful in cases in which data needs to be collected and saved until it is requested. Such data can be stored ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required