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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-msg message

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


Subject: RE: [ebxml-msg] New Issue: Roles Needed in P-Mode


Pete:

If the roles do not change within a single MEP, we could use
PMode.Initiator.Role and PMode.Responder.Role (I think we considered
this option in the past, but stayed away from it for some reason.)

Otherwise for each leg of an MEP:
- PMode[1].BusinessInfo.FromRole
- PMode[1].BusinessInfo.ToRole

Note that today, the sender side role is always well identified by
P-Mode:
- For the PO sent by Buyer to Supplier:
PMode[1].BusinessInfo.Role="Buyer"
- For the PO-Accept sent by Supplier to Buyer:
PMode[2].BusinessInfo.Role="Supplier"

But one issue I see, is in case of a one-way MEP, we may want the P-Mode
to have enough info for filling the To/Role field of the message, not
just the From/Role.

Jacques 

-----Original Message-----
From: Pete Wenzel [mailto:pete.wenzel@sun.com] 
Sent: Friday, May 11, 2007 2:51 PM
To: David RR Webber (XML)
Cc: ebxml-msg@lists.oasis-open.org
Subject: Re: [ebxml-msg] New Issue: Roles Needed in P-Mode

Well, I think we need to identify which side is acting in which Role, as
we do in the Messaging header (and CPA).  It would be rather odd to find
a PO being sent from a Party taking the Seller Role to one in the Buyer
Role, for example.

--Pete

Thus spoke David RR Webber (XML) (david@drrw.info) on Fri, May 11, 2007
at 11:36:11AM -0700:
>    Pete,
>    Or just make the element repeatable?
>    DW
>    "The way to be is to do" - Confucius (551-472 B.C.)
> 
>      -------- Original Message --------
>      Subject: [ebxml-msg] New Issue: Roles Needed in P-Mode
>      From: Pete Wenzel <pete.wenzel@sun.com>
>      Date: Fri, May 11, 2007 12:55 pm
>      To: ebxml-msg@lists.oasis-open.org While the CPP/A TC was mapping

> P-Mode parameters to existing or new CPA values, we found that there 
> is only one Role in D.3.3, PMode[1].BusinessInfo.Role.
> 
> Since both parties play a Role, we need to capture them both, perhaps 
> as PMode.Initiator.Role and PMode.Responder.Role, or else similarly 
> named parameters under PMode.BusinessInfo.
> 
> --Pete
> Pete Wenzel <[1]pete.wenzel@sun.com>
> Join the Open ESB Community <[2]http://open-esb.org/>


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