[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: companion doc for tomorrow
Karsten The document you sent out contains a large number of basic XML errors. The attached document corrects the majority of these and gives a readable XML file. Martin Bryan
<?xml version="1.0" ?> <EbXml> <package name="proj"> <package name="Ordering"> <!-- Assume document model has been defined, it is not yet part of the example. The document model would define: Order, OrderCOnfirmation, OrderDenied, Quote, QuoteRequest, ShippingNotice, PaymentNotice --> <commercial-transaction name="OrderCT" isSecureTransportRequired="TRUE"> <request name="Order" type="Order"/> <response name="OrderConfirmation" type="OrderConfirmation" /> <response name="OrderDenied" type="OrderDenied" /> </commercial-transaction> <commercial-transaction name="QuoteCT"> <request name="QuoteRequest" type="QuoteRequest"/> <response name="Quote" type="Quote" /> <security isIntelegibleCheckRequired="true" isSecureTransportRequired="TRUE"> </security> </commercial-transaction> <commercial-transaction name="ShippingNotice"> <request name="ShippingNotice" type="ShippingNotice"/> </commercial-transaction> <commercial-transaction name="PaymentNotice"> <request name="PaymentNotice" type="PaymentNotice"/> </commercial-transaction> <service-interaction name="OrderCollaboration" initiator="buy" responder="sell"> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonReputiationReciptRequired="true" isIntelegibleCheckRequired="true" isSecureTransportRequired="TRUE" > </security> <timing> timeToPerform="10" timeToAcknolageRecipt="12" timeToAcknolageRecipt="10" </timing> <Commercial-transaction-activity name="QuoteCT" from="buy" to="sell" startingpoint="true" isConcurrent="true" /> <Commercial-transaction-activity name="Order" type="OrderCT" from="buy" to="sell"/> <Commercial-transaction-activity name="ShippingNotice" from="sell" to="buy"/> <Commercial-transaction-activity name="PaymentNotice" from="buy" to="sell" timeToPerform="2 days"/> <transition from="QuoteCT" guard="Quote" to="OrderCT" /> <transition from="Order" guard="OrderConfirmation" to="ShippingNotice" /> <transition from="ShippingNotice" to="PaymentNotice"/> <success from="PaymentNotice" /> <failure from="OrderCT" guard="OrderDenied"/> </service-interaction> <business-collaboration name="BuySell"> <business-partner name="buyer"> <has-role service="OrderCollaboration" role="sell" /> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonRepudiationReciptRequired="true" isIntelegibleCheckRequired="true" > </security> <timing> timeToPerform="10" timeToAcknolage="12" timeToAcknolageRecipt="10" </timing> </business-partner> <business-partner name="seller"> <has-role service="OrderCollaboration" role="sell" /> </business-partner> <agreement from="buyer/buy" to="seller/sell" /> </business-collaboration> <!-- A warrantyActivator notifies the warrantyDepartment that a certain shipped item must be put under warranty for an specified customer. --> <!-- Assume document model has been defined, it is not yet part of the example. The document model would define: WarrantyRegistration WarrantyCertificate WarrantyRegistrationIncomplete --> <commercial-transaction name="WarrantyManagementNotification" isSecureTransportRequired="TRUE"> <request name="RegisterWarranty" type="WarrantyRegistration"/> <response name="WarrantyAcknowledged" type="WarrantyCertificate" /> <response name="WarrantyDenied" type="WarrantyRegistrationIncomplete" /> </commercial-transaction> <service-interaction name="WarrantyCollaboration" initiator="warrantyActivator" responder="warrantyDepartment"> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonReputiationReciptRequired="true" isIntelegibleCheckRequired="true" isSecureTransportRequired="TRUE" > </security> <Commercial-transaction-activity name="RegisterWarrantyCT" type="WarrantyManagementNotification" from="warrantyActivator" to="warrantyDepartment"/> <success from="RegisterWarrantyCT" guard="WarrantyAcknowledged"/> <failure from="RegisterWarrantyCT" guard="WarrantyDenied"/> </service-interaction> <!-- Multiparty business collaboration : Synthetizing two service interactions Appends WarrantyCollaboration at the end of OrderCollaboration. Success transition in the OrderCollaboration overriden with a transition of same guard that initiates the WarrantyCollaboration. Failure transition in OrderCollaboration still holds as failure for the business collaboration. Success transition in WarrantyCollaboration becomes success for the business collaboration. Failure transition in WarrantyCollaboration still holds as failure for the business collaboration. --> <business-collaboration name="BuySellWarranty"> <business-partner name="buyer"> <has-role service="OrderCollaboration" role="buy" /> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonRepudiationReciptRequired="true" isIntelegibleCheckRequired="true" > </security> <timing> timeToPerform="10" timeToAcknolage="12" timeToAcknolageRecipt="10" </timing> </business-partner> <business-partner name="seller"> <has-role service="OrderCollaboration" role="sell" /> <has-role service="WarrantyCollaboration" role="warrantyActivator" /> <transition from="PaymentNotice" guard="PaymentNotice" to="RegisterWarrantyCT" /> </business-partner> <business-partner name="warrantiesManager"> <has-role service="WarrantyCollaboration" role="warrantyDepartment" /> </business-partner> <agreement from="buyer/buy" to="seller/sell" /> <agreement from="seller/warrantyActivator" to="warrantiesManager/warrantyDepartment" /> </business-collaboration> <!-- A sender requests shipping from a carrier --> <!-- Assume document model has been defined, it is not yet part of the example. The document model would define: Waybill PickupReceipt WaibillIncomplete DeliveryReceipt --> <commercial-transaction name="Shipping" isSecureTransportRequired="TRUE"> <request name="Ship" type="Waybill"/> <response name="Pickup" type="PickupReceipt" /> <response name="ShippingDenied" type="WaibillIncomplete" /> </commercial-transaction> <commercial-transaction name="DeliveryAcknoledgement" isSecureTransportRequired="TRUE"> <request name="DeliveryAcknoledged" type="DeliveryReceipt"/> </commercial-transaction> <service-interaction name="ShipCollaboration" initiator="send" responder="ship"> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonReputiationReciptRequired="true" isIntelegibleCheckRequired="true" isSecureTransportRequired="TRUE" > </security> <Commercial-transaction-activity name="ShippingCT" from="send" to="ship" timeToPerform="1 days" startingpoint="true" /> <Commercial-transaction-activity name="DeliveryAcknowledgementCT" type="DeliveryAcknoledgement" from="ship" to="send" timeToPerform="10 days"/> <transition from="ShippingCT" guard="Pickup" to="DeliveryAcknowledgementCT" /> <success from="DeliveryAcknowledgementCT" /> <failure from="ShippingCT" guard="ShippingDenied"/> </service-interaction> <!-- Multiparty business collaboration : Synthetizing three service interactions Appends WarrantyCollaboration at the end of OrderCollaboration. Success transition in the OrderCollaboration overriden with a transition of same guard that initiates the WarrantyCollaboration. Failure transition in OrderCollaboration still holds as failure for the business collaboration. Success transition in WarrantyCollaboration becomes success for the business collaboration. Failure transition in WarrantyCollaboration still holds as failure for the business collaboration. Inlines the ShipCollaboration within OrderCollaboration. Overrides OrderCollaboration transition from="Order" guard="OrderConfirmation" to="ShippingNotice" with a transition to launch ShipCollaboration from="Order" guard="OrderConfirmation" Overrides success transition in ShipCollaboration with a transition to OrderCollaboration ShippingNotice Failure transition in ShipCollaboration still holds as failure for the business collaboration. --> <business-collaboration name="BuySellShipWarranty"> <business-partner name="buyer"> <has-role service="OrderCollaboration" role="buy" /> <security isAuthorizationRequired="true" isNonRepudiationRequired="true" isNonRepudiationReciptRequired="true" isIntelegibleCheckRequired="true" > </security> <timing> timeToPerform="10" timeToAcknolage="12" timeToAcknolageRecipt="10" </timing> </business-partner> <business-partner name="seller"> <has-role service="OrderCollaboration" role="sell" /> <has-role service="WarrantyCollaboration" role="warrantyActivator" /> <has-role service="ShipCollaboration" role="send" /> <transition from="Order" guard="OrderConfirmation" to="ShippingCT" /> <transition from="DeliveryAcknowledgementCT" to="ShippingNotice" /> <transition from="PaymentNotice" guard="PaymentNotice" to="RegisterWarrantyCT" /> </business-partner> <business-partner name="warrantiesManager"> <has-role service="WarrantyCollaboration" role="warrantyDepartment" /> </business-partner> <business-partner name="carrier"> <has-role service="ShipCollaboration" role="ship" /> </business-partner> <agreement from="buyer/buy" to="seller/sell" /> <agreement from="seller/warrantyActivator" to="warrantiesManager/warrantyDepartment" /> <agreement from="seller/send" to="carrier/ship" /> </business-collaboration> </package> </package> </EbXml>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC