Commerce Server 2007 Catalog BizTalk Adapter

Hi,

I am querying Commerce server to get the product ID and I am using the Commerce Server catalog adapter. What I get back from this adapter is the MSCommerceCatalogCollection2 XML. Then I have a receive shape to receive this XML. I am using the DefaultCatalog.xsd schema to accept this XML. The problem is that I get this error message back which is;

Received unexpected message type '' does not match expected type 'MSCommerceCatalogCollection2'.

Am I using the correct schema I think I am as I can see the XML that is dehydrated in BizTalk and this XML looks like it conforms to the DefaultCatalog.xsd schema. Can anyone see what the problem is

Regards
Dom



Answer this question

Commerce Server 2007 Catalog BizTalk Adapter

  • Prodigy201

    Hey Dom,

    As Jeff indicated, that is the default, out of the box schema. If you make any modifications to your subsystems, you will need to regenerate the schema documents. Refer to this documentation for more information: http://msdn2.microsoft.com/en-us/library/aa545849.aspx

    Hope this helps!

    Alan



  • dr.acv

    The "DefaultCatalog.xsd" schema is an "out of the box" schema and you will need to modify this schema for BizTalk if you've made any changes to your catalog such as adding a new product attribute or category for example. You also need to make sure your modified schema is referenced in your receive pipeline and deployed to your BizTalk application.

    I hope this helps.

    Jeff Lynch
    MVP Windows Server System - Commerce Server
    http://codebetter.com/blogs/jeff.lynch



  • Jorne

    Hi,
    I figured it out, the problem with this instance is that the Receive pipeline was not configured with XMLReceive in the BizTalk administration console.

    Dom

  • Commerce Server 2007 Catalog BizTalk Adapter