none
xCBL schema - Where to find - how to create?

    Question

  • Hi

     

    I have a project where  I need a xCBL schema version 3.0. Unfortunately xCBL.org does not provide a schema in this version but only xml files. When I use the schema generator from bizalk I get three schemas that can't be used for mapping (No records, no fields are created).

     

    Can anybody tell me how to create a xcbl orders 3.0 schema or where I can get such a schema?

     

    regards

     

     

     

    Thursday, November 29, 2007 10:58 AM

Answers

  • You can in fact download the BizTalk 2002 generated XDR schemas for xCBL 3.0 from xCBL.org (http://www.xcbl.org/xcbl30/xcbl30xdrschemas.shtml).  Once you unzip these, create a BizTalk Server Migration Project as it loads the appropriate references to generate an XSD from an XDR.  It will prompt you to enter the name of your BizTalk 2002 server - cancel out of that.  Add a new item to the project, and choose "Add Generated Items." Choose "Generate Schemas" and select "XDR" and point it at the library of xCBL docs you just unzipped.  It will generate the XSD and you're off and running.
    Thursday, November 29, 2007 3:30 PM
  • The xCBL 3.0 schemas are available for download from http://www.xcbl.org/xcbl30/xcbl30xsdschemas.shtml.

     

    You can download their "components" zip file and use whatever schema you need such as the "Order" schema. Mapping this in BizTalk Server 2004, 2006 or 2006R2 is fairly easy and I'd be happy to help if you get stuck. We've been using this with one of our trading partners for several years now.

     

    Jeff Lynch

    MVP Windows Server System - Commerce Server

    http://codebetter.com/blogs/jeff.lynch

     

     

    Friday, November 30, 2007 8:03 PM

All replies

  • You can in fact download the BizTalk 2002 generated XDR schemas for xCBL 3.0 from xCBL.org (http://www.xcbl.org/xcbl30/xcbl30xdrschemas.shtml).  Once you unzip these, create a BizTalk Server Migration Project as it loads the appropriate references to generate an XSD from an XDR.  It will prompt you to enter the name of your BizTalk 2002 server - cancel out of that.  Add a new item to the project, and choose "Add Generated Items." Choose "Generate Schemas" and select "XDR" and point it at the library of xCBL docs you just unzipped.  It will generate the XSD and you're off and running.
    Thursday, November 29, 2007 3:30 PM
  • The xCBL 3.0 schemas are available for download from http://www.xcbl.org/xcbl30/xcbl30xsdschemas.shtml.

     

    You can download their "components" zip file and use whatever schema you need such as the "Order" schema. Mapping this in BizTalk Server 2004, 2006 or 2006R2 is fairly easy and I'd be happy to help if you get stuck. We've been using this with one of our trading partners for several years now.

     

    Jeff Lynch

    MVP Windows Server System - Commerce Server

    http://codebetter.com/blogs/jeff.lynch

     

     

    Friday, November 30, 2007 8:03 PM
  • Hi.

    I am having the same problem.   I need the "Order" schema version xcbl 3.0.  I downloaded the order.xdr, but when I try to create the schema for BIZTALK Server 2006 R2, I get the following error.

    Could not load file or assembly 'Microsoft.BizTalk.TOM, Version=3.0.1,0m Culture=neutral, PublicKeyToken= '   ...' or one of its dependencies.  The system cannt find the file specified.  

    Please help.
    Monday, July 20, 2009 2:06 PM
  • Go to http://www.xcbl.org/xcbl30/xcbl30xsdschemas.shtml and click on "Download" to the left of the "xCBL 3.0 Components (XSDL version)". The link in Jeffs post doesn't work because the "." at the end is added to the lnk. Other than that, he is right... And this gives you the XSD's so you don't ahve to bother converting rom the XDRs.



    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Monday, July 20, 2009 6:30 PM
  • Hi.

    I have tried to get the biztalk schema, but I could not get it to work.  Would you be able to get the XCBL version 3.0 Order and Order Response for biztalk schemas?
    • Proposed as answer by Ayronski Wednesday, December 16, 2009 3:36 PM
    Friday, August 07, 2009 7:47 PM
  • I used the BizTalk single root schema set (http://www.xcbl.org/xcbl30/xcbl30xdrschemas.shtml) that jftl6y_007 first posted at the bottom of the page described as "BizTalk schemas compatible for use with BizTalk tools and BizTalk environment runtime validation". Unzip these and look in the "Tools" directory of the output. The files have the extension of "*.xml". Choose the file(s) that you want to work with and change their extension to "*.xdr". Then, in a BizTalk project in Visual Studio (I'm using 2005 atm), right-click the project and select "Add Generated Items...". Select "Generate Schemas" from the installed templates list. Next, select XDR from the document type in the popup window and browse the files that you changed.

    Hope this helps.

    -ak

    Wednesday, December 16, 2009 3:44 PM