Binding Properties of the Shared Resources to the Substitution Variables

Procedure

  1. In Project Explorer, double-click USAddressServiceHttpClientSharedResource.httpClient. The HTTP Client Resource Template editor displays.
  2. Click the icon located on the top right of the HTTP Client Configuration pane.

    The Binding Editor displays with a list of properties.

  3. Select Host and click the Pick...button.
  4. Select HostNameUS and click OK.
  5. In the Binding Editor, select Port and click the Pick...button.
  6. Select PortNumUS and click OK.
  7. Click the Done button.
  8. Repeat step 1 through step 7 to bind the substitution variables for the UKAddressServiceHttpClientSharedResource.httpClient resource.

    In step 4 select HostNameUK and in step 6 select PortNumUK.

  9. Save the project.