[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Sample Test ebXML Message using UBL 1.0 SBS
Just to demonstrate that the UBL 1.0 Small Business Subset and its included Universal Business Process (1.0) artifacts can be used with leading ebXML software to send and receive UBL messages, I attach a trace file from Sacha Schlegel showing such a message sent and received between two such ebXML products. Of course, it should be added that it is * not * a requirement that ebXML standards be used for such transactions, but it is good to know that so using ebXML for business collaborations does not appear to present any insurmountable problems when the UBL 1.0 Small Business Subset and Universal Business Process 1.0 artifacts are used. Thanks Sacha. I also attach a zipped file 'UBP-1-0-ebBP-validation.zipped' which shows in a validation test that all the modules of the UBP 1.0 ebBP business process definitions can be combined into a single definition. This might better be done in practise using the 'Include' mechanism mentioned in the ebBP 2.0 specification but having the definition packages side-by-side in the same instance demonstrates that the naming of the individual components allows their use together without id clashes. Note that in the UBP each component 'package' of transaction and collaboration, with the associated document and signal specifications, are held in a separate file to facilitate discretionary modular adoption by trading parties. The CPA examples show how such parties might then declare their adoption of any of the process definitions in CPA documents which can then be made visible to other parties. Having the same process definitions to which they can refer provided publicly in the SBS and its UBP facilitates the finding of trading partners who use the same processes / documents. The CPA templates can, we hope, then be used to help traders or their software providers create their actual ebCPA documents in collaboration with trading partners. All the best, Stephen Green UBL SBSC
Content-Type: multipart/related; type="text/xml"; boundary="----=_Part_2_892604996.1136808719856" SOAPAction: "ebXML" Content-Length: 13412 ------=_Part_2_892604996.1136808719856 Content-Type: text/xml Content-Transfer-Encoding: binary <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"><soap:Header xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><eb:MessageHeader eb:id="ID10742415471136808718175coronation" eb:version="2.0" soap:mustUnderstand="1"><eb:From><eb:PartyId eb:type="string">coronation</eb:PartyId><eb:Role>Buyer</eb:Role></eb:From><eb:To><eb:PartyId eb:type="string">gnaraloo</eb:PartyId><eb:Role>Seller</eb:Role></eb:To><eb:CPAId>Coronation::Gnaraloo::UBL 1.0 Small Business Subset Order With Simple Response::id47851</eb:CPAId><eb:ConversationId>a03618b8-39bb-4dcb-8f54-9f0b755fbb65</eb:ConversationId><eb:Service eb:type="http://docs.oasis-open.org/ebxmlbp/ebbp-2.0">Create Order</eb:Service><eb:Action>Send Order UBL 1.0 SBS Order</eb:Action><eb:MessageData><eb:MessageId>M1136808718137.1462@coronation3249929050153314427</eb:MessageId><eb:Timestamp>2006-01-09T12:11:58.136Z</eb:Timestamp></eb:MessageData><eb:DuplicateElimination/></eb:MessageHeader><eb:SyncReply eb:id="ID8826601001136808718178coronation" eb:version="2.0" soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="1"/><eb:AckRequested eb:id="ID21246332971136808718138coronation" eb:signed="true" eb:version="2.0" soap:actor="urn:oasis:names:tc:ebxml-msg:actor:toPartyMSH" soap:mustUnderstand="1"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI=""> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><ds:XPath>not(ancestor-or-self::node()[@soap:actor="urn:oasis:names:tc:ebxml-msg:service:nextMSH"] | ancestor-or-self::node()[@soap:actor="http://schemas.xmlsoap.org/soap/actor/next"])</ds:XPath></ds:Transform> <ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>8iesAChM+lVs8o/Dy5yygusz31w=</ds:DigestValue> </ds:Reference> <ds:Reference URI="cid:UBL1.0SBSOrder"> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>5uR2Be03NH3YyOl+mKl4yEMO7rk=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> QLPhb3lwtNmzIysxo34/9UEfzRlH7mvII5JojakPl0sJeqQZfT8jwEqfvmhbovdxclzpdI1I vl5nA48Vwyo+Gvna6yxQ8s36rfgQWcXlRg4TfnXGyS3cct0MQkEAqY2NfszC8QC4jBHW5jNv 8RBejGc8t+ZUZ0dSiAetl1yZMQU= </ds:SignatureValue> <ds:KeyInfo> <ds:KeyValue> <ds:RSAKeyValue> <ds:Modulus> 9r7Du+9+vdlVOpg8LT0OeJZclBll9b4yfENCavW1MESbQopzdHlS29p4lro7rCbXfU /r9r/QZmOUPhC/6srYgfIbkjuEGZ4/CV5qU6yl9eSAtTwY/WP2jSTSeN1uiYXx3O7u mY0By0FO6bnOAkTnV30CIYkjfInz1T8tatUO/e0= </ds:Modulus> <ds:Exponent>AQAB</ds:Exponent> </ds:RSAKeyValue> </ds:KeyValue> <ds:X509Data> <ds:X509IssuerSerial> <ds:X509IssuerName>CN=Sacha Schlegel,O=coronationTrunk</ds:X509IssuerName> <ds:X509SerialNumber>142763752897213729029162742002550406420</ds:X509SerialNumber> </ds:X509IssuerSerial> <ds:X509SubjectName>CN=Sacha Schlegel,O=coronationTrunk</ds:X509SubjectName> <ds:X509Certificate> MIIB+jCCAWOgAwIBAgIQa2dMdX3uVPBwYAC3/QF9FDANBgkqhkiG9w0BAQUFADAzMRgwFgYDVQQK Ew9jb3JvbmF0aW9uVHJ1bmsxFzAVBgNVBAMTDlNhY2hhIFNjaGxlZ2VsMB4XDTA1MDcxMTE3MDE0 OFoXDTA3MDcxMTE3MDE0OFowMzEYMBYGA1UEChMPY29yb25hdGlvblRydW5rMRcwFQYDVQQDEw5T YWNoYSBTY2hsZWdlbDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA9r7Du+9+vdlVOpg8LT0O eJZclBll9b4yfENCavW1MESbQopzdHlS29p4lro7rCbXfU/r9r/QZmOUPhC/6srYgfIbkjuEGZ4/ CV5qU6yl9eSAtTwY/WP2jSTSeN1uiYXx3O7umY0By0FO6bnOAkTnV30CIYkjfInz1T8tatUO/e0C AwEAAaMPMA0wCwYDVR0PBAQDAgCgMA0GCSqGSIb3DQEBBQUAA4GBAJ2l2jxaL6ZYVJolU2dy9VZ2 HFY32Q3gdcYuKD0gFmEBj+3+he2o79STH8hqi78tMRRfNLanjf7OsfTiGBlfTk0cLkrxFoN/gPN+ 1pZzB2IYCJXfpnceupWl7ZgApMoBsVDNlhp/ryTw1a/rTAXppZYfMp4vyGI7pvff3P/0HrcA </ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature></soap:Header><soap:Body xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><eb:Manifest eb:id="ID512672241136808718179coronation" eb:version="2.0"><eb:Reference eb:id="ID2065453571136808718146coronation" xlink:href="cid:UBL1.0SBSOrder" xlink:type="simple"/></eb:Manifest></soap:Body></soap:Envelope> ------=_Part_2_892604996.1136808719856 Content-Type: application/xml Content-Transfer-Encoding: binary Content-Disposition: attachment; filename=Order.xml Content-Id: <UBL1.0SBSOrder> <?xml version="1.0" encoding="utf-8"?> <Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-1.0" xmlns:res="urn:oasis:names:specification:ubl:schema:xsd:AcknowledgementResponseCode-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Order-1.0 http://docs.oasis-open.org/ubl/cd-UBL-1.0/xsdrt/maindoc/UBL-Order-1.0.xsd"> <BuyersID>AEG012345</BuyersID> <SellersID>CON0095678</SellersID> <cbc:CopyIndicator>false</cbc:CopyIndicator> <GUID>6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1</GUID> <cbc:IssueDate>2005-06-20</cbc:IssueDate> <cbc:Note>sample</cbc:Note> <cbc:LineExtensionTotalAmount amountCurrencyID="GBP" amountCurrencyCodeListVersionID="0.3">100.00</cbc:LineExtensionTotalAmount> <cac:BuyerParty> <cac:BuyerAssignedAccountID>XFB01</cac:BuyerAssignedAccountID> <cac:SellerAssignedAccountID>GT00978567</cac:SellerAssignedAccountID> <cac:Party> <cac:PartyName> <cbc:Name>IYT Corporation</cbc:Name> </cac:PartyName> <cac:Address> <cbc:StreetName>Avon Way</cbc:StreetName> <cbc:BuildingName>Thereabouts</cbc:BuildingName> <cbc:BuildingNumber>56A</cbc:BuildingNumber> <cbc:CityName>Bridgtow</cbc:CityName> <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone> <cbc:CountrySubentity>Avon</cbc:CountrySubentity> <cac:AddressLine> <cbc:Line>3rd Floor, Room 5</cbc:Line> </cac:AddressLine> <cac:Country> <cac:IdentificationCode>GB</cac:IdentificationCode> </cac:Country> </cac:Address> <cac:PartyTaxScheme> <cbc:RegistrationName>Bridgtow District Council</cbc:RegistrationName> <cac:CompanyID>12356478</cac:CompanyID> <cbc:ExemptionReason>Local Authority</cbc:ExemptionReason> <cac:TaxScheme> <cac:ID>UK VAT</cac:ID> <cac:TaxTypeCode>VAT</cac:TaxTypeCode> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:Contact> <cbc:Name>Mr Fred Churchill</cbc:Name> <cbc:Telephone>0127 2653214</cbc:Telephone> <cbc:Telefax>0127 2653215</cbc:Telefax> <cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail> </cac:Contact> </cac:Party> </cac:BuyerParty> <cac:SellerParty> <cac:BuyerAssignedAccountID>CO001</cac:BuyerAssignedAccountID> <cac:SellerAssignedAccountID>XCVb10009</cac:SellerAssignedAccountID> <cac:Party> <cac:PartyName> <cbc:Name>Consortial</cbc:Name> </cac:PartyName> <cac:Address> <cbc:StreetName>Busy Street</cbc:StreetName> <cbc:BuildingName>Thereabouts</cbc:BuildingName> <cbc:BuildingNumber>56A</cbc:BuildingNumber> <cbc:CityName>Farthing</cbc:CityName> <cbc:PostalZone>AA99 1BB</cbc:PostalZone> <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity> <cac:AddressLine> <cbc:Line>The Roundabout</cbc:Line> </cac:AddressLine> <cac:Country> <cac:IdentificationCode>GB</cac:IdentificationCode> </cac:Country> </cac:Address> <cac:PartyTaxScheme> <cbc:RegistrationName>Farthing Purchasing Consortia</cbc:RegistrationName> <cac:CompanyID>175 269 2355</cac:CompanyID> <cbc:ExemptionReason>N/A</cbc:ExemptionReason> <cac:TaxScheme> <cac:ID>VAT</cac:ID> <cac:TaxTypeCode>VAT</cac:TaxTypeCode> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:Contact> <cbc:Name>Mrs Bouquet</cbc:Name> <cbc:Telephone>0158 1233714</cbc:Telephone> <cbc:Telefax>0158 1233856</cbc:Telefax> <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail> </cac:Contact> </cac:Party> </cac:SellerParty> <OriginatorParty> <cac:PartyName> <cbc:Name>The Terminus</cbc:Name> </cac:PartyName> <cac:Address> <cbc:StreetName>Avon Way</cbc:StreetName> <cbc:BuildingName>Thereabouts</cbc:BuildingName> <cbc:BuildingNumber>56A</cbc:BuildingNumber> <cbc:CityName>Bridgtow</cbc:CityName> <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone> <cbc:CountrySubentity>Avon</cbc:CountrySubentity> <cac:AddressLine> <cbc:Line>3rd Floor, Room 5</cbc:Line> </cac:AddressLine> <cac:Country> <cac:IdentificationCode>GB</cac:IdentificationCode> </cac:Country> </cac:Address> <cac:PartyTaxScheme> <cbc:RegistrationName>Bridgtow District Council</cbc:RegistrationName> <cac:CompanyID>12356478</cac:CompanyID> <cbc:ExemptionReason>Local Authority</cbc:ExemptionReason> <cac:TaxScheme> <cac:ID>UK VAT</cac:ID> <cac:TaxTypeCode>VAT</cac:TaxTypeCode> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:Contact> <cbc:Name>S Massiah</cbc:Name> <cbc:Telephone>0127 98876545</cbc:Telephone> <cbc:Telefax>0127 98876546</cbc:Telefax> <cbc:ElectronicMail>smassiah@the-email.co.uk</cbc:ElectronicMail> </cac:Contact> </OriginatorParty> <cac:Delivery> <cbc:RequestedDeliveryDateTime>2005-06-29T09:30:47.0Z</cbc:RequestedDeliveryDateTime> <cac:DeliveryAddress> <cbc:StreetName>Avon Way</cbc:StreetName> <cbc:BuildingName>Thereabouts</cbc:BuildingName> <cbc:BuildingNumber>56A</cbc:BuildingNumber> <cbc:CityName>Bridgtow</cbc:CityName> <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone> <cbc:CountrySubentity>Avon</cbc:CountrySubentity> <cac:AddressLine> <cbc:Line>3rd Floor, Room 5</cbc:Line> </cac:AddressLine> <cac:Country> <cac:IdentificationCode>GB</cac:IdentificationCode> </cac:Country> </cac:DeliveryAddress> </cac:Delivery> <cac:DeliveryTerms> <cbc:SpecialTerms>1% deduction for late delivery as per contract</cbc:SpecialTerms> </cac:DeliveryTerms> <cac:SalesConditions> <cbc:Description>order response required; payment is by BACS or by cheque</cbc:Description> </cac:SalesConditions> <cac:OrderLine> <cbc:Note>this is an illustrative order line</cbc:Note> <cac:LineItem> <cac:BuyersID>1</cac:BuyersID> <cac:SellersID>A</cac:SellersID> <cac:LineStatusCode languageID="en" codeListID="Line Status" codeListVersionID="1.0" codeListSchemeURI="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" codeListAgencyName="OASIS Universal Business Language" codeListName="Line Status" codeListAgencyID="UBL">NoStatus</cac:LineStatusCode> <cbc:Quantity quantityUnitCode="kg">100</cbc:Quantity> <cbc:LineExtensionAmount amountCurrencyID="GBP" amountCurrencyCodeListVersionID="0.3">100.00</cbc:LineExtensionAmount> <cbc:TaxTotalAmount amountCurrencyID="GBP" amountCurrencyCodeListVersionID="0.3">17.50</cbc:TaxTotalAmount> <cac:Item> <cbc:Description>Acme beeswax</cbc:Description> <cac:SellersItemIdentification> <cac:ID>17589683</cac:ID> </cac:SellersItemIdentification> <cac:BasePrice> <cbc:PriceAmount amountCurrencyID="GBP" amountCurrencyCodeListVersionID="0.3">100.00</cbc:PriceAmount> </cac:BasePrice> </cac:Item> </cac:LineItem> </cac:OrderLine> </Order> ------=_Part_2_892604996.1136808719856--
UBP-1-0-ebBP-validation.zipped
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]