Compartir vía


How to Configure the Inventory Transport Properties for a Send Endpoint

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Before you can configure the transport properties for a Commerce Server Inventory send adapter, you must create an appropriate send port within the BizTalk Server Administration Console. For information about the aspects of these tasks specific to Commerce Server adapters, see How to Configure a Send Endpoint for a BizTalk Adapter.

Almost all the configuration properties associated with Commerce Server Inventory send adapter endpoints are configured within the Transport Properties dialog box associated with the send port you have created for this adapter. This topic explains these properties and how to set them.

To configure the Commerce Server Inventory transport properties for a send port

  1. In the BizTalk Server Administration Console, in the left pane, navigate to your Commerce Server send port or ports.

    Note

    You may also perform these steps in Microsoft Visual Studio 2005 or Visual Studio 2008 or Visual Studio 2008.

  2. In the right pane, right-click the appropriate Inventory send port, and then click Properties.

    The Send Port Properties dialog box opens.

  3. Select the General tab in the left pane. In the Transport box in the right pane, click the Configure button associated with the Type selection (in which you have previously selected Commerce Server Inventory).

    The Commerce Server Inventory Transport Properties dialog box opens.

  4. In the Commerce Server Inventory Transport Properties dialog box, configure the operation of this Inventory send adapter endpoint.

    Note

    By default, when you configure transport properties for Commerce Server adapter endpoints, no Web service calls are made to validate the parameters you specify. However, you can set a key in the registry that will instruct the adapters to perform additional parameter validation that includes several Web service calls. For more information about this registry key, see Endpoint Configuration Validation.

    Transport property

    Description

    Adapter Endpoint Parameters - Registry Subkey

    A required string that is used as a unique subkey within the following registry location:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 BizTalk Adapters\Inventory

    This location, ending with the provided subkey, is used by the Commerce Server Inventory send adapter to store information such as the date and time this adapter endpoint was last run and the GUID it uses for tracing.

    Adapter Endpoint Parameters - Error Threshold

    An integer that specifies the number of import errors that are allowed before an import operation is aborted.

    The default value is 100.

    Adapter Endpoint Parameters - Export Schema with Query Results

    A drop-down list choice that determines whether Commerce Server will include schema information when providing inventory data in response to a query. The possible values are:

    • All Schema. All Catalog System schemas are included in the query response.

    • No Schema. No Catalog System schemas are included in the query response.

    • Relevant Schema. Only the relevant Catalog System schemas are included in the query response.

    The default value is All Schema.

    Adapter Endpoint Parameters - Import Directory

    A required string that specifies the name of a file system folder that this send port can use for temporary files.

    There is no default value.

    Aa546096.alert_note(en-US,CS.70).gifNote:
    The specified directory, if any, must allow writes by the account under which the BizTalk Server host instance is running. This is likely to be a different account than the one you log in with when you set this transport property.

    Adapter Endpoint Parameters - Import Mode

    A drop-down list choice that determines whether import operations will replace existing Commerce Server inventory data or make incremental changes to it. The possible values are:

    • Replace. Imported inventory data completely replaces any existing inventory data.

    • Incremental. Imported inventory data supplements any existing inventory data.

    The default value isReplace.

    Adapter Endpoint Parameters - Import Schema Changes

    A Boolean value that determines whether any schema changes present in an import operation will be allowed, with True specifying that schema changes should be allowed. If schema changes are not allowed and an import message includes schema changes, the import operation will fail.

    The default value is False.

    Adapter Endpoint Parameters - Inventory Catalogs

    A string that specifies a comma-separated list of inventory catalogs to be processed by this Inventory send adapter endpoint. The default value is blank, which indicates that this Inventory send adapter endpoint can process any and all Commerce Server inventory catalogs.

    Adapter Endpoint Parameters - Namespace

    A string that specifies a namespace to be used in conjunction with the solicit and response messages associated with this send adapter endpoint.

    For more information about how this property is used, see Using the Namespace Transport Property.

    Adapter Endpoint Parameters - Product Catalogs

    A string that specifies a comma-separated list of product catalogs that are managed by this Inventory send adapter endpoint. The default value is blank, which indicates that this Inventory send adapter endpoint can manage any and all Commerce Server product catalogs.

    Adapter Endpoint Parameters - Properties to Import

    A string that specifies a comma-separated list of property names, which indicate the properties that may be imported by this send adapter. The default value is blank, which indicates that this Inventory send adapter endpoint can import any Commerce Server inventory properties.

    Adapter Endpoint Parameters - Set Export Ready

    A Boolean value that determines whether the Export Ready flag will be set for imported inventory items. This flag can be used in subsequent export operations by the Inventory receive adapter.

    Adapter Endpoint Parameters - Transaction Mode

    A drop-down list choice that determines whether operations will be transactional at the catalog level. The possible values are:

    • Transaction. Treat entire operations as a single transaction, completely succeeding or leaving the inventory catalogs unchanged.

    • NonTransaction. Do not treat entire operations as a single transaction, and therefore do not roll back changes in the event of a failure.

    The default value is Transaction.

    Adapter Message Type - Endpoint Message Type

    A drop-down list choice that determines which of the possible Inventory message types will be handled by this send adapter. The possible values are:

    • FromContext. Process both import and query messages, using the context property CommerceServerMessageType to determine the type of each message.

    • InventoryImport. Only process messages of type CommerceServerInventoryImport. Query operations, if required, will need to be processed by a different Inventory send adapter.

    • InventoryQueries. Only process messages of type CommerceServerInventoryQuery. Import operations, if required, will need to be processed by a different Inventory send adapter.

    The default value is Inventory Import.

    Connection Information - Web Service URL

    A required string that specifies the URL of the Commerce Server Catalog Web Service, which is also used by the Inventory adapter.

    The default URL of the Catalog Web Service is http://hostname/CatalogWebService/CatalogWebService.asmx.

    Connection Information - Connection Timeout

    A number that specifies the Web service time-out duration, in seconds. Use "-1" to specify that there is no time-out duration.

    The default value is 100.

    Connection Information - Proxy Connection Information - Local bypass

    A Boolean value that specifies whether to bypass the proxy server when you use a local address, with True specifying to bypass the proxy server.

    The default value is False.

    Connection Information - Proxy Connection Information - Port

    A string that specifies the port number on the proxy server through which you connect to the Catalog Web Service. There is no default value.

    Connection Information - Proxy Connection Information - Proxy Password

    A string that specifies the password to use when logging on to the proxy server.

    Connection Information - Proxy Connection Information - Proxy Server

    A string that specifies the URL of the proxy server, if any. Proxy server URLs must begin with "http://" or "https://".

    Connection Information - Proxy Connection Information - Proxy Username

    A string that specifies the user name to use when logging on to the proxy server.

    Connection Information - Web Service Password

    A string that specifies the password to use when logging on to the Catalog Web Service. This property is relevant only when a value is specified for the Web Service Username property.

    Connection Information - Web Service Username

    A string that specifies the user name to use when logging on to the Catalog Web Service. If a name is not specified, BizTalk Server will use the running host instance credentials when logging on to the Catalog Web Service.

    For more information about host instances, see the BizTalk Server documentation.

    User Defined Context Properties - Site name

    A string that specifies the name of the Web site that this send adapter supports. There is no default value.

See Also

Other Resources

How to Add a BizTalk Adapter

How to Configure a Send Endpoint for a BizTalk Adapter

Configuring an Inventory Adapter Endpoint