The WSIT Tutorial

ProcedureTo Configure WSIT Features in the Web Service

To configure a web service to use the WSIT Reliable Messaging technology, perform the following steps:

  1. In the Projects window, expand the Web Services node under the CalculatorApplication node, right-click the CalculatorWS node, and choose Edit Web Service Attributes, as shown in Figure 3–1.

    Figure 3–1 Editing Web Service Attributes

    Screen shot showing how to edit web service attributes

  2. Select the Reliable Message Delivery check box, as shown in Figure 3–2, and click OK.

    Figure 3–2 Reliable Messaging Configuration Window

    Screen shot of reliable messaging configuration window

    This setting ensures that the service sends an acknowledgement to the clients for each message that is delivered, thus enabling clients to recognize message delivery failures and to retransmit the message. This capability makes the web service a “reliable” web service.

  3. In the left pane, expand the Web Pages node and the WEB-INF node, and open the wsit-endpoint-classname.xml file in the Source Editor.

    Notice that the IDE has added the following tags to the file to enable reliable messaging:

    <wsp:Policy wsu:Id="CalculatorWSPortBindingPolicy">
          <wsaw:UsingAddressing xmlns:wsaws=""/>