Operate > WebSphere Commerce Accelerator > Business relationship management > Create reseller relationships: an overview
Create service agreements for a store
Before you create a service agreement for a store, ensure that the following steps are complete:
Before you begin
Note that if you import a contract by using XML, and want to have that contract appear in the WebSphere Commerce Accelerator, then have a contract description.
- Obtain a copy of the template service agreement XML file to use on your local client. The service agreement XML template can be found in the following location on the machine where WebSphere Commerce is installed: WC_EAR/xml/trading/xml/TemplateHostingContract.xml
- Ensure you have the following information:
- Full DN of the reseller organization.
- E-mail address for the owner of the store.
- Directory name where the store assets will be saved.
- Full DN of the service provider organization.
- Full DN of the profile stores organization.
- Unique name of the catalog profile store you want the store to use.
- Unique name of the store profile store you want the store to use.
- Unique name of the shared fulfillment center you want the reseller store to use.
Procedure
- Copy the template service agreement XML file to a new file name.
- Open the copy of the template service agreement XML file in either a text editor or an XML editor.
- Replace all the instances of the following strings with values appropriate for the distributor...
- Replace HOSTED_STORE_ORG_DISTINGUISHED_NAME with the full distinguished name of the store organization. This can be found in the DN column of the ORGENTITY table An example is o=Example Organization,o=Reseller Organization,o=Root Organization.
- Replace HOSTED_STORE_SUB_ORG_NAME with the name of the store sub-organization. The sub-organization will be created during the deployment of the contract. An example is Example RHS Organization.
- Replace HOSTED_STORE_SUB_ORG_DISTINGUISHED_NAME with the full DN of the store sub-organization. The sub-organization will be created during the deployment of the contract. An example is o=Example RHS Organization,o=Reseller Organization,o=Root Organization.
- Replace HOSTED_STORE_OWNER_DISTINGUISHED_NAME with the full distinguished name of the owner of the store. This can be found in the DN column of the USERS table. An example is uid=Me,o=Example Organization,o=Reseller Organization,o=Root Organization.
- Replace HOSTED_STORE_OWNER_EMAIL_ADDRESS with the e-mail address of the owner of the store. An example is me@Example.com.
- Replace HOSTED_STORE_DISPLAY_NAME with the name of the store. An example is Example.
- Replace HOSTED_STORE_DESCRIPTION with the description of the hosting store An example is This is the Example store.
- Replace HOSTED_STORE_DIRECTORY_NAME with the name of folder to keep store file assets. An example is Example.
- Replace HOSTED_STORE_DEFAULT_LOCALE with the store's default locale. An example is en_US.
- Replace HOSTED_STORE_DEFAULT_CURRENCY with the store's default currency. An example is USD.
- Replace SERVICE_PROVIDER_ORG_DISTINGUISHED_NAME with the full distinguished name of the service provider organization. This can be found in the DN column of the ORGENTITY table. An example is ou=Service Provider Organization,o=Manufacturer Organization,o=Root Organization.
- Replace PROFILE_ORG_DISTINGUISHED_NAME with the full DN of the profile stores organization. This can be found in the DN column of the ORGENTITY table. An example is ou=Profile Organization,o=Manufacturer Organization,o=Root Organization.
- Replace CATALOG_PROFILE_STORE with the unique name of the catalog profile store This can be found in the IDENTIFIER column of the STOREENT table. An example is Catalog Profile Store.
- Replace HOSTED_STORE_PROFILE_STORE with the unique name of the store profile store. This can be found in the IDENTIFIER column of the STOREENT table. An example is Reseller Profile Store.
- Replace SERVICE_PROVIDER_SHARED_FULFILLMENT_CENTER_NAME with the name of shared fulfillment center of service provider. This can be found in the NAME column of the FFMCENTER table. An example is Shared fulfillment center.
- Replace SERVICE_PROVIDER_LOCALE with the locale of the WebSphere Commerce Accelerator in which you are loading the contract. An example is en_US.
- Replace POLICY_GROUP_B2B_OR_B2C_NAME with the policy group name of the B2B direct or B2B indirect business to consumer policy group. Use either B2BPolicyGroup or B2CPolicyGroup.
- Replace POLICY_GROUP_NAME_FOP_PROFILE_STORE with the policy group name for the profile store. This can be found in the NAME field of the ACPOLGRP table. An example is Reseller Profile Store ProfileGroup.
- Replace the entire PaymentAccount element with the appropriate PaymentAccount element for the credit cards you accept. An example is
<PaymentAccount currency="USD"> <Brand type="MasterCard"/> <Brand type="VISA"/> <Brand type="American Express"/> </PaymentAccount>
- Replace PAYMENT_METHOD with the payment method string to be used with Custom Offline Cassette. This information determines the account to be used in each payment transaction that is processed by the Custom Offline Cassette.
- Add any additional ShippingMode elements that should be set up for each store.
- Save the file.
- Import the service agreement XML file into WebSphere Commerce.