Databases Reference
In-Depth Information
To populate the address element, use a
Transformation
activity rather than an
Assign
activity, as shown in the following screenshot:
If we use an assign to directly populate the
<Address>
element, then BPEL, by
default, creates an initialized
<EndpointReference>
element containing all the
other optional elements (each with an empty value).
Updating the endpoint
Finally, we use another copy rule to dynamically set the partner link. The key
difference here is that the
target
of the copy rule is the
JobService PartnerLink
,
as shown in the following screenshot:
Now, when we invoke the
JobService
, via the
PartnerLink
, it will dynamically route
the request to the updated endpoint.