< Previous | Next >

Updating the shipping policies for small orders

In this lesson, you will implement a change in the shipping policies for small orders.

Clips and Tacks made a business decision to update the shipping policies for all domestic shipping including small orders. You will implement Change 1 to the Clips and Tacks policy. The following table represents the Clips and Tacks service-provider endpoint capabilities (assertions) and use cases for service consumers for Change 1.
Table 1. Clips and Tacks service-provider endpoint capabilities and use cases for Change 1
Size and Type of Order Internal Shipping Better Shipping International Express™
Order Size = SMALL and Order Type = DOMESTIC   X  
Order Size = Large and Order Type = DOMESTIC   X  
Order Type = INTERNATIONAL     X
  1. Switch back to the Business Services perspective in WebSphere® Integration Developer. Remove the InternalShipping endpoint by right-clicking InternalShippingEndpoint and selecting Delete.
    Internal Shipping Point
  2. Modify the BetterShipping endpoint.
    1. Double-click BetterShippingEndpoint to open its editor. Select the Assertions tab and click Add, which is in the upper-right corner of the Endpoint Capabilities table.
      Assertions tab
    2. Expand the Interoperability folder, expand the Content Based Assertion folder, and then select OrderSizeAssertion and click OK.
      Select Assertions tab
    3. In the window that opens, select SMALL for the order size, and then click OK.
      Order Size Assertions
      You have created an instance of this assertion type and associated it with this endpoint. There is now a row for this assertion in the table.
    4. In the Capabilities table, clear the check box in the Required column for OrderSizeAssertion with a value that equals LARGE. Save your work.
    5. Verify that you have three rows in the Endpoint Capabilities assertions table and close the editor.
      Better Shipping Endpoint
  3. Simulate Change 1 by following the steps as outlined in the section Simulating the initial shipping policies, changing the values of the Test Verify Shipper selection page to the following values:
    • CountryAssertion = USA
    • PostalCodeAssertion = 30324
    • TotalPriceAssertion = 10

    Then click Run. The Simulation Operations panel shows only green check marks and the BetterShippingEndpoint is selected. After observing the simulation results close the simulation tab without saving it.

< Previous | Next >