OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-bp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Roles - an Explanation


Title: Roles - an Explanation

Every binary collaboration has two roles.  This level of role is use to indicate the relationship between the parties and the transactions

ExternalRole are used to map 'real' roles to thoe used by the Binary Collaborations.  This is done by saying that an External Role performs a BC role.

When a Binary collaboration calls another BinaryCollaboration using CollaborationActivity the BinaryCollaration Roles are mapped to the new BinaryCollaboration roles.

An Example:

3 top level BC
        HandleOrder  Roles: Buyer and Seller
        QueryOrder: Buyer and Seller
        CreditCheck: Customer and CreditService

External Roles

        Retailer
        Wholesaler
        CreditAgency

External Role Mappings
        Retailer performs Buyer
        Wholesaler performs Seller and Customer
        CreditAgency performs CreditService

HandleOrder invokes CreditCheck via a CollaborationActivity
        Role Mapping
                Seller performs Customer
                CreditAgency* perform CreditService

* : Notice use of External Role within the CollaborationActivity.

In order for this to work there would have to be at least three parties bound to the three roles involved.  This may be new but I believe is needed.

       

Martin Roberts
xml designer,
BT Exact
e-mail: martin.me.roberts@bt.com
tel: +44(0) 1473 609785 
clickdial
fax: +44(0) 1473 609834
Intranet Site :
http://twiki.btlabs.bt.co.uk/twiki
pp 16 Floor 5, Orion Building, Adastral Park, Martlesham, Ipswich IP5 3RE, UK



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]