Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Tips on Providing Partner Link Data

Tips on Providing Partner Link Data

Some processes require the configuration of partner link data as part of the test. Partner links can be specified along with
wsa:EndpointReference
information for their partnerRole or service names for their myRole. This is only necessary if the process makes use of some data within a partner link during some calculation.
To add partner link data to a B-unit test:
  1. In Outline view, select the Partner Links node, and select a partner link.
  2. In the Properties view, select the All tab, and select the Simulation category.
  3. Select the appropriate partner link, My Role, or Partner Role.
  4. Select the Dialog button at the end of the row to open the
    Partner Link Data
    dialog.
  5. Type in an Endpoint Reference definition.
  6. Simulate the process and save the simulation as a B-unit test.
The following example shows the B-unit element that is added to your test.
<!-- Controls deployment of partner links to the test engine. --> <abu:partnerLinks> <abu:partnerLink xmlns:ns="http://docs.active- endpoints.com/sample /bpel/loanprocess/2008/02/loanProcessCompleted.bpel" name="LoanApproval" processName="ns:loanProcessCompleted"> <abu:partnerRole endpointReference="static"> <wsa:EndpointReference xmlns:s="http://docs.active-endpoints.com/ sample/wsdl/riskAssessment/2008/ 02/riskAssessment.wsdl" xmlns:wsa="http://www.w3.org/2005 /08/addressing"> <wsa:Address>urn:x-vos:loancompany: RiskAssessmentServiceNEW </wsa:Address> <wsa:ServiceName PortName="RiskAssessmentServicePort"> s:RiskAssessmentServiceNEW </wsa:ServiceName> </wsa:EndpointReference> </abu:partnerRole> </abu:partnerLink> </abu:partnerLinks>

0 COMMENTS

We’d like to hear from you!