<iso>

E-Commerce II 

Wissen

Nachtrag ebXML


!!! Listing 1

<?xml version="1.0"?>
<!-- Quelle: http://www.ebxml.org/specs/cpa-example.xml -->
 <tp:CollaborationProtocolAgreement 
 	xmlns:tp="http://www.ebxml.org/namespaces/tradePartner" 
 	xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
 	xsi:schemaLocation="http://www.ebxml.org/namespaces/tradePartner http://ebxml.org/project_teams/trade_partner/cpp-cpa-v1_0.xsd" 
 	xmlns:xlink="http://www.w3.org/1999/xlink" 
 	xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
 	tp:cpaid="uri:yoursandmycpa"
 	tp:version="1.2">
 	<tp:Status tp:value="proposed"/>
 	<tp:Start>2001-05-20T07:21:00Z</tp:Start>
 	<tp:End>2002-05-20T07:21:00Z</tp:End>
	<!-- ... -->
 	<tp:PartyInfo>
 		<tp:PartyId tp:type="DUNS">123456789</tp:PartyId>
 		<tp:PartyRef xlink:href="http://example.com/about.html"/>
 		<tp:CollaborationRole tp:id="N00">
 			<tp:ProcessSpecification 
				tp:version="1.0" 
				tp:name="buySell" 
				xlink:type="simple" 
				xlink:href="http://www.ebxml.org/processes/buySell.xml"/>
 			<tp:Role tp:name="buyer" 
				xlink:type="simple" 
				xlink:href="http://ebxml.org/processes/buySell.xml#buyer"/>
 			<tp:CertificateRef tp:certId="N03"/>
			<!-- ... -->
 		</tp:CollaborationRole>
		<!-- ... -->
 		<tp:Transport tp:transportId="N05">
 			<tp:SendingProtocol tp:version="1.1">HTTP</tp:SendingProtocol>
 			<tp:ReceivingProtocol tp:version="1.1">HTTP</tp:ReceivingProtocol>
 			<tp:Endpoint 	tp:uri="https://www.example.com/servlets/ebxmlhandler" 
					tp:type="allPurpose"/>
 			<tp:TransportSecurity>
 				<tp:Protocol tp:version="3.0">SSL</tp:Protocol>
 				<tp:CertificateRef tp:certId="N03"/>
 			</tp:TransportSecurity>
 		</tp:Transport>
 		<tp:Transport tp:transportId="N18">
 			<tp:SendingProtocol tp:version="1.1">HTTP</tp:SendingProtocol>
 			<tp:ReceivingProtocol tp:version="1.1">SMTP</tp:ReceivingProtocol>
 			<tp:Endpoint tp:uri="mailto:ebxmlhandler@example.com" tp:type="allPurpose"/>
 		</tp:Transport>
	<!-- ... -->
 	</tp:PartyInfo>
	<tp:PartyInfo>
		<tp:PartyId tp:type="DUNS">987654321</tp:PartyId> 
		<tp:PartyRef xlink:type="simple" xlink:href="http://contrived-example.com/about.html"/>
		<!-- ... -->
 	</tp:PartyInfo>
	<!-- ... -->
	<tp:Comment xml:lang="en-us">buy/sell agreement between example.com and contrived-example.com</tp:Comment>
 </tp:CollaborationProtocolAgreement>




!!!Listing 2

<!-- Quelle: http://www.ebxml.org/specs/ebBPSS.xml -->
 <!DOCTYPE ProcessSpecification SYSTEM "ebXMLProcessSpecification-v1.01.dtd">
 <ProcessSpecification name="Simple" version="1.1" uuid="[1234-5678-901234]">
 	<!-- Business Documents -->
 	<BusinessDocument name="Catalog Request"/>
 	<BusinessDocument name="Catalog"/>
 	<BusinessDocument name="Purchase Order"/>
 	<BusinessDocument name="PO Acknowledgement"/>

	<!-- ... -->

 	<Package name="Ordering">
	                <!-- First the overall MultiParty Collaboration -->
                	<MultiPartyCollaboration name="DropShip">
	                        <BusinessPartnerRole name="Customer">
	                                <Performs initiatingRole="requestor"/>
	                                <Performs initiatingRole="buyer"/>
	                                <Transition fromBusinessState="Catalog Request" toBusinessState="Create Order"/>
	                        </BusinessPartnerRole>
		        <!-- ... -->
		</MultiPartyCollaboration>
		<!-- ... -->
 		<!-- Now the Binary Collaborations -->
 		<BinaryCollaboration name="Request Catalog">
 			<InitiatingRole name="requestor"/>
 			<RespondingRole name="provider"/>
 			<BusinessTransactionActivity 
				name="Catalog Request" 
				businessTransaction="Catalog Request" 
				fromAuthorizedRole="requestor" 
				toAuthorizedRole="provider"/>
 		</BinaryCollaboration>
 		<BinaryCollaboration name="Firm Order" timeToPerform="P2D">
 			<Documentation>timeToPerform = Period: 2 days from start of transaction</Documentation>
 			<InitiatingRole name="buyer"/>
 			<RespondingRole name="seller"/>
 			<BusinessTransactionActivity name="Create Order" 
				businessTransaction="Create Order" 
				fromAuthorizedRole="buyer" 
				toAuthorizedRole="seller"/>
 		</BinaryCollaboration>

		<!-- ... -->

 		<!-- Here are all the Business Transactions needed -->
 		<BusinessTransaction name="Catalog Request">
 			<RequestingBusinessActivity name="">
 				<DocumentEnvelope isPositiveResponse="true" 
					businessDocument="Catalog Request"/>
 			</RequestingBusinessActivity>
 			<RespondingBusinessActivity name="">
 				<DocumentEnvelope isPositiveResponse="true" 
					businessDocument="Catalog"/>
 			</RespondingBusinessActivity>
 		</BusinessTransaction>
 		<BusinessTransaction name="Create Order">
 			<RequestingBusinessActivity name="" isNonRepudiationRequired="true" 
					timeToAcknowledgeReceipt="P2D" 
					timeToAcknowledgeAcceptance="P3D">
 				<DocumentEnvelope isPositiveResponse="true"
					 businessDocument="Purchase Order"/>
 			</RequestingBusinessActivity>
 			<RespondingBusinessActivity name="" isNonRepudiationRequired="true" 
					timeToAcknowledgeReceipt="P5D">
 				<DocumentEnvelope isPositiveResponse="true" 
					businessDocument="PO Acknowledgement"/>
 			</RespondingBusinessActivity>
 		</BusinessTransaction>

		<!-- ... -->

 	</Package>
 </ProcessSpecification>
