PIDX Schemas Solution for BizTalk Server 2006

One of the things you’ll need when working with PIDX / RNIF / BTARN projects in BizTalk Server 2006 is the actual PIDX schemas (.xsd) to be used. Luckily the American Petroleum Institute (API) has a public web site for the Petroleum Industry Data Exchange (PIDX) committee which contains links to the various versions of their schemas.


Once you and your trading partner decide on which version you’ll be using, you can download the schemas and add them to your BizTalk solution in Visual Studio. When you attempt to open these schemas you’ll notice an error message that pops up as shown here.



This is a fairly common error and usually occurs when the schema you are attempting to open contains a reference to another “imported” or “included” schema and the BizTalk Schema Editor tool cannot find the file in question. The work-around for this is fairly simple and all you’ll need to do is change these two attributes.




  1. First you’ll need to click on the Imports attribute collection and delete the reference to the PIDX Library schema which contains the hard-coded location which is incorrect.

  2. Next you’ll need to import a new schema as an XSD Include and select the PIDXLib from the picker as shown here.

  3. Once that step is complete, you’ll also need to change the Root Reference attribute so that the BizTalk Schema Editor knows how to correctly identify your schema.

And that’s really all there is to it, except you’ll have to do this for every PIDX schema and every version.


Good thing I’ve already done this and you can download the BizTalk Solution containing all the PIDX schemas right here!


This entry was posted in BizTalk Server, Microsoft, PIDX, Rosetta Net, RosettaNet. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

One Response to PIDX Schemas Solution for BizTalk Server 2006

  1. Sujit K says:

    Thank you so much Jeff.. This helped a lot.

    This would save a lot of time for everyone..

Leave a Reply