Before you create a reseller service agreement, ensure that the following steps are complete:
- Obtain a copy of the template reseller 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_installdir/xml/trading/xml/TemplateHostingContract.xml - Ensure you have the following information:
- Full distinguished name of the reseller organization.
- Full distinguished name of the store administrator of the hosted store. The owner of the hosted store should be a member of the reseller organization.
- E-mail address for the owner of the hosted store.
- Directory name where the hosted store assets will be saved.
- Full distinguished name of the service provider organization.
- Full distinguished name of the profile stores organization.
- Unique name of the catalog profile store you want the reseller hosted store to use.
- Unique name of the hosted store profile store you want the reseller store to use.
- Unique name of the shared fulfillment center you want the reseller store to use.
- Note that if you import a contract through XML, and want to have that contract appear in the WebSphere Commerce Accelerator, then you must have a contract description.
To create a reseller service agreement XML file, do the following:
- Copy the template reseller service agreement XML file to a new file name.
- Open the copy of the template reseller 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 as follows:
- Replace HOSTED_STORE_ORG_DISTINGUISHED_NAME with the full distinguished
name of the hosted store organization. This can be found in the DN column of
the ORGENTITY table
An example is o=Acme Organization,o=Reseller Organization,o=Root Organization. - Replace HOSTED_STORE_SUB_ORG_NAME with the name of the hosted store sub-organization. The sub-organization will be created during the deployment of the contract. An example is Acme RHS Organization.
- Replace HOSTED_STORE_SUB_ORG_DISTINGUISHED_NAME with the full distinguished name of the hosted store sub-organization. The sub-organization will be created during the deployment of the contract. An example is o=Acme RHS Organization,o=Reseller Organization,o=Root Organization.
- Replace HOSTED_STORE_OWNER_DISTINGUISHED_NAME with the full distinguished name of the owner of the hosted store. This can be found in the DN column of the USERS table. An example is uid=Me,o=Acme Organization,o=Reseller Organization,o=Root Organization.
- Replace HOSTED_STORE_OWNER_EMAIL_ADDRESS with the e-mail address of the owner of the hosted store. An example is me@acme.com.
- Replace HOSTED_STORE_DISPLAY_NAME with the name of the hosted store. An example is Acme.
- Replace HOSTED_STORE_DESCRIPTION with the description of the hosting
store
An example is This is the Acme hosted store. - Replace HOSTED_STORE_DIRECTORY_NAME with the name of folder to keep hosted store file assets. An example is Acme.
- 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 distinguished name 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 hosted 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 value chain 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. An example is Cheque.
- Add any additional ShippingMode elements that should be set up for each store.
- Replace HOSTED_STORE_ORG_DISTINGUISHED_NAME with the full distinguished
name of the hosted store organization. This can be found in the DN column of
the ORGENTITY table
- Save the file.
- Import the reseller service agreement XML file into WebSphere Commerce.