Using the WebServiceInput Activity

OK, let’s dig in. WF-based XML Web services require at least one WebServiceInput activity and one or more WebServiceOutput activities. The input and output activities are related—each output activity must be associated with an input activity. (This is true of the WebServiceFault activity as well.) You can’t drop in an instance of WebServiceInput and have no outputs or faults, and you can’t have outputs or faults without at least one WebServiceInput. Either case presents you with a validation and compilation error.

When you place an instance of WebServiceInput into your workflow, you need to set several properties and perhaps handle at least one event. The properties of interest are shown in Table 19-1. The event, ...

Get Microsoft® Windows® Workflow Foundation Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.