Export (0) Print
Expand All
4 out of 4 rated this helpful - Rate this topic

Integrating BizTalk Server and Commerce Server: The Catalog Adapter

Abstract

In this lab, you will use the Microsoft Commerce Server 2007 Catalog adapter with Microsoft BizTalk Server 2006 to export a catalog from the Commerce Server 2007 Starter Site to the CSharp Site.

Introduction starts here:

This lab will walk you through the use of the Microsoft® Commerce Server 2007 Catalog adapter to export a catalog from the Commerce Server 2007 Starter Site to the CSharp Site. After you complete the lab, you should have a good understanding of how to produce Web service messages and how to get these messages into the BizTalk Server message queue, into and out of an orchestration, and out to another Web service.

Specifically, you will perform the following tasks:

  • Verify the prerequisites
  • Rebuild the Commerce Server MessageSchemas project
  • Create a BizTalk orchestration project
  • Build and deploy the CSCatalogAdapterUsage BizTalk application
  • Configure the BizTalk application by using the BizTalk Administration console
  • Configure the Catalog adapter
  • Connect to the Starter Site and the CSharp Site by using Catalog Manager
  • Start the BizTalk application and verify the results

The instructions in this lab assume that you have a working knowledge of BizTalk Server 2006, Commerce Server 2007, the Commerce Server Starter Site, and Microsoft Visual Studio® 2005. For more information about concepts in this lab, see the appropriate product documentation.

This document assumes that you have the following installed on your system and that both Commerce Server 2007 and BizTalk Server 2006 are installed on the same computer.

  • Microsoft Windows Server® 2003 SP 1 or later
  • Microsoft Visual Studio 2005
  • Microsoft SQL Server™ 2005 SP1 or SQL Server 2000 SP4
  • Microsoft BizTalk Server 2006
  • Microsoft Commerce Server 2007
  • Microsoft Commerce Server 2007 SDK
  • Microsoft Commerce Server 2007 Starter Site
  • Microsoft Commerce Server 2007 CSharp Site
Bb794701.note(en-US,BTS.10).gifNote
The CSharp Site comes with the default installation of Commerce Server 2007. However, you need to unpack and configure the site before running it. For information about unpacking and configuring the CSharp Site, use the instructions in the "Installation and Configuration Guide for Commerce Server 2007".

Bb794701.note(en-US,BTS.10).gifNote
For information about installing and configuring the Commerce Server 2007 Starter Site, see http://www.microsoft.com/commerceserver/.

Note   You will use the default message schemas included with Commerce Server 2007. These schemas are located in the <Commerce Server Installation Directory> (for example, C:\Program Files\Microsoft Commerce Server 2007)\Sdk\Samples\Adapters\MessageSchemas\Catalog directory.

This document also assumes that you have the following rights:

  • You are a member of the BizTalk Administrators and SSO Administrators groups.
  • The BizTalk Service account has full rights to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 BizTalk Adapters registry key.
  • The c:\Labs\Output\ folder has Everyone Group permission.
    Note   c:\Labs\Output\ is a folder that you need to create to store the acknowledgment and temporary messages.

On a 64-bit computer, you also need the following additional rights:

  • The BizTalk Service account has full rights to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wow6432Node\Commerce Server 2007 BizTalk Adapters registry key.

Before creating a BizTalk project that uses the Catalog adapter, you need to verify the following prerequisites:

  • The Commerce Server 2007 Catalog adapter is installed in BizTalk Server 2006.
  • The Starter Site is up and running.
  • The CSharp Site is up and running.
  • The Catalog Web service for the Starter Site is available. This document assumes that you named the URL for the Catalog Web service for the Starter Site as http://localhost/ssCatalogWebService/CatalogWebService.asmx.
  • The Catalog Web service for the CSharp Site is available. This document assumes that you named the URL for the Catalog Web service for the CSharp Site as http://localhost/csCatalogWebService/CatalogWebService.asmx.

The following figure shows all the Web sites running on your system when the Starter Site and the CSharp Site are up and running.

Bb794701.7d29b64b-34e6-4856-aa34-911742172400(en-US,BTS.10).gif
  1. Click Start, point to Programs, point to Microsoft BizTalk Server 2006, and then click BizTalk Server Administration.

  2. In the BizTalk Administration console, expand Console Root, expand BizTalk Server 2006 Administration, expand BizTalk Group, expand Platform Settings, and then expand Adapters.

    Ensure that the CommerceServerCatalogAdapter is listed. This document assumes that you named the Catalog adapter as CommerceServerCatalogAdapter when installing it in BizTalk Administration console.

    Bb794701.7edd41b3-344c-43df-b084-bc36a80ede0f(en-US,BTS.10).gif

    If the Commerce Server Catalog adapter is not installed, do the following:

    • Right-click Adapters, point to New, and then click Adapters.
    • In the Adapter Properties dialog box, in the Name box, enter CommerceServerCatalogAdapter, and in the Adapter box, select Commerce Server Catalog.
      Note   You will have to restart the associated host instances for the changes to take effect.
  1. In Internet Explorer, in the Address box, type http://localhost/startersite, and you should see the Adventure Works shopping site.

    Note   If you do not see the shopping site, check the Commerce Server 2007 Starter Site Installation Guide at http://go.microsoft.com/fwlink/?LinkID=71818.

  1. In Internet Explorer, in the Address box, type http://localhost/csharpsite, and you should see an empty page.

Bb794701.note(en-US,BTS.10).gifNote
If you see anything other than an empty page, check the instructions in the “Installation and Configuration Guide for Microsoft Commerce Server 2007” at http://go.microsoft.com/fwlink/?LinkID=57268.

  1. In Internet Explorer, in the Address box, type http://localhost/sscatalogwebservice/catalogwebservice.asmx, you should see a list of operations on the page.

Bb794701.note(en-US,BTS.10).gifNote
If you do not see any operations on the page, check the Commerce Server Starter Site Installation Guide at http://go.microsoft.com/fwlink/?LinkID=71818.

  1. In Internet Explorer, in the Address box, type http://localhost/cscatalogwebservice/catalogwebservice.asmx, you should see a list of operations on the page.

Bb794701.note(en-US,BTS.10).gifNote
If you do not see any operations on the page, check the instructions in the “Installation and Configuration Guide for Microsoft Commerce Server 2007” at http://go.microsoft.com/fwlink/?LinkID=57268.

Now you will create a strong name key and rebuild the Commerce Server message schemas project that was shipped with Commerce Server 2007.

  1. Click Start, point to Programs, point to Microsoft Visual Studio 2005, point to Visual Studio Tools, and then click Visual Studio 2005 Command Prompt.

  2. At the command prompt, change the current directory to cd c:\Labs.

  3. At the command prompt, type sn –k key.snk, and then press ENTER.

    Bb794701.e29d1ac3-b69b-462d-b0bc-f610f4f1bb9b(en-US,BTS.10).gif
  4. At the command prompt, type exit and then press ENTER to close the command prompt window.

  1. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.

  2. In Windows Explorer, navigate to the C:\Program Files\Microsoft Commerce Server 2007\Sdk\Samples\Adapters\MessageSchemas directory, and then double-click CommerceServerAdapterSchemas.sln.

  3. In Solution Explorer, right-click CommerceServerAdapterSchemas, and then click Properties.

  4. In the left pane of the dialog box, under Common Properties, click Assembly. In the right pane, in the Assembly Key File box, type c:\Labs\key.snk.

    Bb794701.a8c77421-577d-4c99-bc2e-deba68696c65(en-US,BTS.10).gif
  5. Under Configuration Properties, click Deployment. In the right pane, in the Server box, type (Local), and then click OK.

  6. In Solution Explorer, right-click CommerceServerAdapterSchemas, and click Rebuild, and then click Deploy.

  7. On the File menu, click Exit to close Visual Studio.

Bb794701.note(en-US,BTS.10).gifNote
If you deploy the application to a deployment server, in the Server box, you need to provide the name of the deployment server instead of (Local).

Bb794701.note(en-US,BTS.10).gifNote
If you have customized schemas for your Commerce Server 2007 site or require schemas for other systems to be connected with your Commerce Server 2007 site, you can use your own message schema file. You will need to build your customized schema file to be used with your orchestration.

Now you will create a BizTalk project in Visual Studio 2005 and design an orchestration to handle communication between the Starter Site and the CSharp Site. You will create a new BizTalk project, add an orchestration, create message variables, add Send and Receive shapes to the orchestration, and add logical ports to the orchestration. Finally, you will also connect each logical port to an appropriate Send or Receive shape to complete the BizTalk orchestration project.

Creating a BizTalk Orchestration Project

Now you will create a BizTalk project in Visual Studio 2005, add a reference to Microsoft.CommerceServer.Adapter.MessageSchemas, and add an orchestration to the project.

  1. Click Start, point to Programs, point to Microsoft Visual Studio 2005, and then click Microsoft Visual Studio 2005.

  2. On the File menu, point to New, and then click Project.

  3. In the New Project dialog box, in the Project Types pane, click BizTalk Projects, and then in the Templates pane, click Empty BizTalk Server Project.

  4. In the Name box, type CSCatalogAdapterUsage.

  5. In the Location box, type C:\Labs, and then click OK. The CSCatalogAdapterUsage project should appear in Solution Explorer. If you do not see Solution Explorer, click Solution Explorer on the View menu.

    Bb794701.201aafa5-5a03-4268-945f-b9a57a64da8b(en-US,BTS.10).gif
  6. The new CSCatalogAdapterUsage project appears.

  1. In Solution Explorer, right-click References, and then click Add Reference.

  2. Click Browse, change to <Commerce Server Installation Directory> (for example, C:\Program Files\Microsoft Commerce Server 2007)\Sdk\Samples\Adapters\MessageSchemas\bin\Deployment, double-click Microsoft.CommerceServer.Adapter.MessageSchemas.dll, and then click OK.

    Bb794701.001c0397-aa71-4c8b-a003-178301fef449(en-US,BTS.10).gif

    The following figure shows all the references in the project.

    Bb794701.92c2f34a-d87f-491f-9208-cf297fbfeb67(en-US,BTS.10).gif
  1. In Solution Explorer, right-click CSCatalogAdapterUsage, point to Add, and then click New Item.

  2. In the Add New Item dialog box, do the following:

    Bb794701.661f1cd0-b8e4-4301-afe9-c9d4fe707144(en-US,BTS.10).gif

    Use this

    To do this

    Categories

    Click Orchestration Files

    Templates

    Click BizTalk Orchestration

    Name

    Type CatalogBizTalkOrchestration.odx

  3. Click Add.

Creating Message Variables

Now you will create two message variables. They are DefaultCatalogMessage and DefaultCatalogResponseMessage.

  1. In Solution Explorer, double-click CatalogBizTalkOrchestration.odx.

  2. In the Orchestration View window, right-click Messages, and then click New Message. If you do not see the Orchestration View window, click the View menu, point to Other Windows, and then click Orchestration View. Typically, the Orchestration View window is on the tab next to the Solution Explorer tab.

  3. In the Properties window, do the following:

    Bb794701.ac3c5035-fe42-439c-9639-e44a9fb65722(en-US,BTS.10).gif

    Use this To do this

    Identifier

    Type DefaultCatalogMessage

    Message Type

    From the drop-down list, expand Schemas, and then click Select from referenced assembly.

    The Select Artifact Type dialog box appears.

    • In the Select Artifact Type dialog box, in the left pane, expand Microsoft.CommerceServer.Adapter.MessageSchemas, and then select Microsoft.CommerceServer.Adapter.MessageSchemas.Catalog1. In the right pane, select DefaultCatalog.
      Bb794701.997208bb-c1c9-47ac-9f26-d08f25121681(en-US,BTS.10).gif
  1. In the Orchestration View window, right-click Messages, and then click New Message.

  2. In the Properties window, do the following

    Use this To do this

    Identifier

    Type DefaultCatalogResponseMessage

    Message Type

    From the drop-down list, expand Schemas, and then click Select from referenced assembly.

    The Select Artifact Type dialog box appears.

    • In the Select Artifact Type dialog box, in the left pane, expand Microsoft.CommerceServer.Adapter.MessageSchemas, and then select Microsoft.CommerceServer.Adapter.MessageSchemas.Catalog1. In the right pane, select CatalogResponseMessage.
      The following figure shows the messages in the orchestration view.
      Bb794701.8fde9f43-dfdf-4833-942a-ea2d2ab6233f(en-US,BTS.10).gif

Adding Send and Receive Shapes to the Orchestration

Now you will add four shapes. They are a Receive shape called ReceiveCatalog, a Send shape called SendCatalog, another Receive shape called ReceiveCatalogAck, and another Send shape called SendCatalogAck.

  1. In Solution Explorer, double-click CatalogBizTalkOrchestration.odx to open the orchestration in the Visual Studio 2005 design surface.

  2. From the BizTalk Orchestration Toolbox, drag a Receive shape to just below the start of the orchestration (the green circle).

  3. Double-click the Receive shape, and in the Properties window, do the following:

    Bb794701.ef0fa5c4-2b50-4189-90ea-0483fe714e87(en-US,BTS.10).gif

    Use this

    To do this

    Activate

    Select True

    Message

    Select DefaultCatalogMessage

    Name

    Type ReceiveCatalog

  1. From the BizTalk Orchestration Toolbox, drag a Send to just below the ReceiveCatalog shape.

  2. Double-click the Send shape, and in the Properties window, do the following:

    Use this To do this

    Message

    Select DefaultCatalogMessage

    Name

    Type SendCatalog

  1. From the BizTalk Orchestration Toolbox, drag a Receive shape to just below the SendCatalog shape.

  2. Double-click the Receive shape, and in the Properties window, do the following:

    Use this To do this

    Message

    Select DefaultCatalogResponseMessage

    Name

    Type ReceiveCatalogAck

  1. From the BizTalk Orchestration Toolbox, drag a Send shape to below ReceiveCatalogAck shape.

  2. Double-click the Send shape, and in the Properties window, do the following:

    Use this To do this

    Message

    Select DefaultCatalogResponseMessage

    Name

    Type SendCatalogAck

Adding Logical Ports to the Orchestration

Now you will create three logical ports to the orchestration, a receive port called CatalogReceivePort, a send port called CatalogSendPort, and another send port called CatalogSendAckPort.

  1. In Solution Explorer, double-click CatalogBizTalkOrchestration.odx to open the orchestration in the Visual Studio 2005 design surface.

  2. From the BizTalk Orchestration Toolbox, drag a Port shape onto the left Port Surface on the design surface.

  3. On the Welcome to the Port Configuration Wizard page, click Next.

    Bb794701.c552cb80-ce9d-4b86-9d3d-a3eba0935513(en-US,BTS.10).gif
  4. On the Port Properties page, in the Name box, type CatalogReceivePort, and then click Next.

  5. On the Select a Port Type page, in the Port Type Name box, type CatalogReceiveType.

    Bb794701.8c9a8efa-2607-4fda-b563-30b6e1f28a62(en-US,BTS.10).gif
  6. Click Next.

  7. Click Next.

  8. On the Completing the Port Wizard page, click Finish to complete and close the wizard.

  1. From the BizTalk Orchestration Toolbox, drag a Port shape onto the right Port Surface on the design surface.

  2. On the Welcome to the Port Configuration Wizard page, click Next.

  3. On the Port Properties page, in the Name box, type CatalogSendPort, and then click Next.

  4. On the Select a Port Type page, do the following:

    Use this To do this

    Port Type Name

    Type CatalogSendType

    Communication Pattern

    Select Request-Reponse

  5. Click Next.

  6. On the Port Binding page, do the following:

    Use this To do this

    Port direction of communication

    Select I’ll be sending a request and receive a response.

    Port binding

    Select Specify later.

  7. On the Completing the Port Wizard page, click Finish to complete and close the wizard.

  1. From the BizTalk Orchestration Toolbox, drag a Port shape onto the right Port Surface on the design surface.

  2. On the Welcome to the Port Configuration Wizard page, click Next.

  3. On the Port Properties page, in the Name box, type CatalogSendAckPort, and then click Next.

  4. On the Select a Port Type page, in the Port Type Name box, type CatalogSendAckType.

  5. Click Next.

  6. On the Port Binding page, do the following:

    Use this To do this

    Port direction of communication

    Select I’ll be sending messages on this port.

    Port binding

    Select Specify later.

  7. Click Next.

  8. On the Completing the Port Wizard page, click Finish to complete and close the wizard.

Connecting the Logical Ports to the Send and Receive Shapes

Now you will connect each logical port to an appropriate Send or Receive shape.

  1. Connect the CatalogReceivePort port to the ReceiveCatalog shape. (Drag the arrow to the right of the CatalogReceivePort port on the port surface to the box on the ReceiveCatalog shape.)

  2. Connect the SendCatalog shape to the Request of the CatalogSendPort port.

  3. Connect the ReceiveCatalogAck shape to the Response of the CatalogSendPort port.

  4. Connect the SendCatalogAck shape to the CatalogSendAckPort port.

    Your orchestration should look like the following figure.

    Bb794701.1c44c5fa-2673-4d89-ad39-da3e28bf9bde(en-US,BTS.10).gif

Now you will build and deploy the BizTalk project in Visual Studio 2005.

  1. In Visual Studio 2005, in Solution Explorer, right-click the CSCatalogAdapterUsage project, and then click Properties.

  2. In the CSCatalogAdapterUsage Property Pages dialog box, expand the Common Properties, and then select Assembly. In the right pane, in the Assembly Key Name box, type c:\Lab\key.snk.

  3. In the CSCatalogAdapterUsage Property Pages dialog box, expand Configuration Properties, and then select Deployment. In the right pane, in the Application Name box, type CSCatalogAdapterUsage, in the Server box, type (Local), and then click OK.

  4. In Solution Explorer, right-click the CSCatalogAdapterUsage project, click Build, and then click Deploy.

  5. On the File menu, click Exit to close Visual Studio.

Bb794701.note(en-US,BTS.10).gifNote
You will have to refresh the view to be able to see the newly deployed application.

Note   If you deploy the application to a deployment server, in the Server box, you need to provide the name of the deployment server instead of (Local).

Now you will configure and start the BizTalk application. To configure the application, you need to create send and receive physical ports, configure the Catalog adapter, and bind the logical ports to the physical ports. To start the application, you can use the BizTalk Administration console.

First, you create two folders to store appropriate messages:

  • c:\Labs\Output\AckMessages is to store acknowledgment messages.
  • c:\Labs\Output\TempMessages is to store temporary messages.
Bb794701.note(en-US,BTS.10).gifNote
Make sure that both folders have the Everyone Group permission.

Creating Physical Send and Receive Ports

Now you will create physical send and receive ports, and configure the Catalog adapter. You will configure the Catalog adapter to operate as a BizTalk Server one-way receive adapter to receive messages from the Starter Site into BizTalk Server. You will also configure the Profiles adapter to operate as a BizTalk Server solicit-response send adapter to send solicit messages out of BizTalk Server to the CSharp Site and to receive the response messages back from the CSharp Site into BizTalk Server.

  1. Right-click Receive Ports, point to New, and then select One-way Receive Port.

  2. In the Receive Port Properties dialog box, in the right pane, under General, in the Name box, type ReceiveCatalogPort. In the left pane of the dialog box, click Receive Locations.

  3. In the right pane, click New.

  4. In the Receive Location Properties dialog box, do the following:

    Bb794701.53db2924-3e23-4537-b963-3343cfee4cdf(en-US,BTS.10).gif

    Use this To do this

    Name

    Type ReceiveCatalogLocation

    Transport Type

    Select CommerceServerCatalogAdapter

    Receive Handler

    Select the host you bound to the orchestration, BizTalkServerApplication by default.

    Receive Pipeline

    Select XMLReceive

  5. Click Configure, and on the CommerceServerCatalogAdapter Properties page, do the following:

    Bb794701.a4f3d028-e58b-4cf7-acb2-2185b503de54(en-US,BTS.10).gif

    Use this To do this

    Registry Subkey

    Type CatalogExport

    Web Service URL

    Type http://localhost/sscatalogwebservice/catalogwebservice.asmx

    Web Service Password

    Type the user’s password

    Web Service User Name

    Type the user name

    This account must have access to the Azman authorization store for the Catalog Web service. For more information about these access rights, see .

    Minutes

    Type 10

    The number 10 means that every 10 minutes the Web service will push out the new catalog.

    Site name

    Type StarterSite

  1. Right-click Send Ports, point to New, and then select Static Solicit-Response Send Port.

  2. In the Send Port Properties – General dialog box, do the following:

    Use this To do this

    Name

    Type SendCatalogPort

    Transport Type

    Select CommerceServerCatalogAdapter

    Send Handler

    Select the host you bound to the orchestration, BizTalkServerApplication by default.

    Send Pipeline

    Select XMLTransmit

    Receive Pipeline

    Select XMLReceive

  3. Click Configure, on the CommerceServerCatalogAdapter properties page, do the following:

    Use this To do this

    Registry Subkey

    Type SendCatalogPort

    Import Directory

    Type c:\Labs\Output\TempMessages

    Endpoint message type

    Make sure it is Catalog Import

    Web Service URL

    Type

    http://localhost/cscatalogwebservie/catalogwebservice.asmx

    Web Service Password

    Type the user’s password

    Web Service User Name

    Type the user name

    This account must have access to the Azman authorization store for the Catalog Web service. For more information about these access rights, see

    Site name

    Type CSharpSite

  1. Right-click Send Ports, point to New, and then select Static One-way Send Port.

  2. In the Send Port Properties – General dialog box, do the following:

    Use this To do this

    Name

    Type SendCatalogAckPort

    Transport Type

    Select FILE

    Send Handler

    Select the host you bound to the orchestration, BizTalkServerApplication by default.

    Send Pipeline

    Select XMLTransmit

  3. Click Configure, and in the File Transport Properties dialog box, in the Destination Folder box, type c:\Labs\Output\AckMessages

Binding the Logical Ports to the Physical Ports

Now you will bind each logical port to its corresponding physical port.

  1. In the BizTalk Administration console, under Applications, right-click CSCatalogAdapterUsage, and then click Configure.

  2. In the Configure Application dialog box, in the left pane, click CatalogBizTalkOrchestration. In the right pane, in the Host box, select BizTalkServerApplication, and then bind the following ports.

    Bb794701.873b0ebe-6e6d-47f5-bb75-7b9e76996a0e(en-US,BTS.10).gif

    Use this To do this

    CatalogReceivePort

    Select ReceiveCatalogPort

    CatalogSendPort

    Select SendCatalogPort

    CatalogSendAckPort

    Select SendCatalgAckPort

Now you will test the application that you have created and deployed. You will first connect to the Starter Site and the CSharp Site. Then you will start the orchestration to receive the catalog from the Starter Site, send the catalog to the CSharp Site, and receive an acknowledgment to a file directory. You should see the Adventure Works Catalog on the CSharp Site and an acknowledgment in the c:\Labs\Output\AckMessages folder.

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2007, and then click Catalog Manager.

  2. In the Commerce Server Catalog Manager dialog box, on the File menu, point to Open, and then click Connection.

  3. In the Site Connections dialog box, under Select a Connection, click New.

  4. Under the Settings, in the Name box, type StarterSite, and in the Catalog Web Service box, add the two characters ss after http://localhost/, making sure the Catalog Web Service is http://localhost/sscatalogwebservice/catalogwebservice.asmx. Click OK, and then click OK again.

    Bb794701.cf266529-7e85-48ca-bd44-3c083d5c9c61(en-US,BTS.10).gif
  1. In the Commerce Server Catalog Manager dialog box, on the File menu, point to Open, and then click Connect.

  2. In the Site Connection dialog box, in the Name box, select StarterSite from the drop-down list, and then click OK.

  3. In the Commerce Server Catalog Manager dialog box, in the Catalogs pane, Adventure Works Catalog appears.

    Bb794701.2b27f1a9-0999-4920-96da-3d3204c87809(en-US,BTS.10).gif
  1. Click Start, point to Programs, point to Microsoft Commerce Server 2007, and then click Catalog Manager.

  2. In the Commerce Server Catalog Manager dialog box, on the File menu, point to Open, and then click Connection.

  3. In the Site Connections dialog box, under Select a Connection, click New.

  4. Under Settings, in the Name box, type CSharpSite, in the Catalog Web Service box, add the two characters cs after http://localhost/, making sure the Catalog Web Service is http://localhost/cscatalogwebservice/catalogwebservice.asmx. Click OK, and then click OK again.

    Bb794701.81aa8a86-4b28-46ee-ba01-33492bfe1b22(en-US,BTS.10).gif
  1. In the Commerce Server Catalog Manager dialog box, on the View menu, click Catalogs.

  2. You should see no catalog.

    Bb794701.0d9280f9-2779-4488-b173-eca7d61facc4(en-US,BTS.10).gif
  1. In the BizTalk Administration console, under Applications, right-click CSCatalogAdapterUsage, and then click Start.

  1. In the Commerce Server Catalog Manager dialog box, on the tool bar, click Refresh.

  2. You should see Adventure Works Catalog.

    Bb794701.00db7ba6-e816-4aeb-9e7a-686a1ee8afa3(en-US,BTS.10).gif
Bb794701.note(en-US,BTS.10).gifNote
Depending on the size of the catalog on the Starter Site, you many need to wait for a minute to let BizTalk Server export the catalog from the Starter Site to the CSharp Site.

  1. In File Explorer, go to c:\Labs\Output\AckMessages, and check if there is a {GUID}.xml file.

  2. A typical {GUID}.xml file contains the following content:

    <?xml version="1.0" encoding="utf-8" ?>
    <CommerceServerCatalogImportResponse />
    
Bb794701.note(en-US,BTS.10).gifNote
To stop receiving acknowledgment messages, you need to stop the BizTalk application.

To stop the BizTalk application, do the following:

  • In the BizTalk Administration Console, under Applications, right-click CSCatalogAdapterUsage, and then click Stop.

Congratulations! You have successfully used the Commerce Server Catalog adapter with BizTalk Server 2006 to export a catalog from the Starter Site to the CSharp Site.

In this lab, you first verified the prerequisites and rebuilt the message schemas project that was shipped with Commerce Server. Next you created a BizTalk orchestration project, added Receive and Send shapes, added logical receive and send ports, and built and deployed the BizTalk project. Then you configured the Catalog adapter as a receive adapter and a solicit-response send adapter. Finally, you tested the BizTalk application. Specifically, you used Catalog Manager to connect to the Starter Site and the CSharp Site, started the BizTalk application, and verified that the catalog was exported from the Starter Site to the CSharp Site and an acknowledgment was generated and was placed in the expected folder.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.