Same type for multiple PartyId ?

Is it possible to use this in ebMS/ebXML 2.0 Messaging service ?

Same type for multiple PartyId 

<eb:From>
 <eb:PartyId eb:type="urn:duns">123456789</eb:PartyId>
 <eb:PartyId eb:type="urn:duns">11111111</eb:PartyId>

 <eb:PartyId eb:type="SCAC">RDWY</PartyId>
 <eb:Role>http://rosettanet.org/roles/Buyer</eb:Role>
 </eb:From>

It looks like this is possible, the XSD allows multiple PartyId elements.  In practice from what I've seen only one is used in ebMS.  The CPA could list multiple options.

 

 

Multiple PartyId elements is possible as per the XSD . What about the same type in party Id.

Is it a practice that two partyId can use same type like above example?

I'm not aware of any restriction on this.

The best place to get more feedback is the ebXML-Dev mailing list from OASIS.

 

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I