Overwriting PartnerLinks

You can change the address of the Web service you want to call dynamically while at runtime by using the Variables Mapping.

Proceed as follows

  1. At the Web Services Connector, open the Variables Mapping dialog.

  2. As target, select the PartnerLink containing the address of the Web service to be called.

  3. As a source, select for example Static value:

    module guide 1209 1
  4. Click module guide 1202 1 and select Create example contents for target type:

    module guide 1209 3
  5. Change the address of the wsa:Address element.

The WSDL of the endpoint as inserted as metadata into the XML structure beneath wsa:Metadata. In case the WSDL must not be changed you can remove the wsdl:definitions element.