wcs.bootstrap.xml è un file XML indipendente dalla lingua che inserisce le informazioni nelle tabelle database. E' possibile accedere a tale file per recuperare informazioni specifiche, come ad esempio in che modo sono memorizzate le conversioni di valuta e e in che modo sono trattate le conversioni di misura.
I tipi di informazione e le tabelle database riempite dal file wcs.bootstrap.xml includono:
Tabella database | Tipo di informazioni | Esempio codice |
---|---|---|
ADDRESS | Inserisce l'ID gestione predefinito. | <address address_id="-1000" member_id="-1000" addrbook_id="-1000" status="P" isprimary="1" lastname="wcsadmin" nickname="wcsadmin" selfaddress="1" /> |
CMDREG | Inserisce l'insieme di comandi della tabella. | <cmdreg storeent_id="0" interfacename="com.ibm.commerce.messaging.commands.SendMsgCmd" classname="com.ibm.commerce.messaging.commands.SendMsgCmdImpl" target |
COUNTCODE | Inserisce la sigla del paese e il numero codice. | <countcode productvendor="WPM" countryabbr="CA" countrycode="124" /> |
CURCONVERT | Inserisce la conversione della valuta dall'euro ad un'altra valuta. | <curconvert storeent_id="-1" fromcurr="EUR" tocurr="FRF" factor="6.55957000000000000000" multiplyordivide="M" bidirectional="Y" updatable="N" curconvert |
CURFORMAT | Inserisce i formati per una valuta, come ad esempio due cifre decimali per i franchi francesi. | <curformat storeent_id="-1" setccurr="FRF" roundingmultiple="1" roundingmethod="R" decimalplaces="2" numbrusg_id="-1" /> |
DEVICEFMT | Inserisce i diversi tipi di dispositivo nel codice runtime che sono XML su HTTP, ECSAX XML su HTTP e XML su MQ. | <devicefmt devicetype_id="XMLHTTP" devicefmt_id="10000" displayname="XML-HTTP" /> |
ECTPTITM | Inserisce i differenti profili e gli attributi demografici. | <ectptitm ecitmrfnbr="10" ecrfnbr="2"
ecseqno="6" ecname="challengeQuestion" ecsize="250"
ecistag="0" ecflddt="S" />
<ectptitm ecitmrfnbr="100" ecrfnbr="6" ecseqno="15" ecname="phone1" ecsize="30" ecistag="0" ecflddt="S" /> |
KEYS | Compila gli intervalli di chiave per le tabelle. | <keys keys_id="-2" tablename="addrbook" columnname="addrbook_id" counter="10000" prefetchsize="50" lowerbound="0" upperbound="9223372036850000000" /> |
LANGPAIR | Inserisce l'ID di lingua. Sono supportate dieci lingue. | <langpair storeent_id="-1" language_id="-2" language_id_alt="-1" sequence="100" /> |
LMEVENTMAP | Inserisce la messaggistica dell'evento. | <lmeventmap lmeventmap_id="5" lmsetname="wcsTransactions" storeent_id="0" exteventname="WCS_DeleteOrderItem" lmtxtypeid="5201" /> |
MBRROLE | Inserisce i ruoli predefiniti supportati da WebSphere Commerce. Ciascun ruolo presenta un ID del ruolo. | <mbrrole member_id="-2001" role_id="-14" orgentity_id="-2001" /> |
MBRATTR | Inserisce l'entità organizzative ed i relativi attributi. | <mbrattr mbrattr_id="-5" attrtype_id="STRING"
name="OrgEntitySize" />
<mbrattr mbrattr_id="-6" attrtype_id="INTEGER" name="OrgEntityRevenueSize" /> <mbrattr mbrattr_id="-7" attrtype_id="STRING" name="OrgEntityIndustryType" /> |
POLICY | Inserisce le politiche aziendali ed assegna un ID. Sono presenti tutte le politiche aziendali. | < policypolicy_id="-2000" policyname="Credit"
policytype_id="ReturnPayment" storeent_id="-1" />
<policy policy_id="-2001" policyname="UseOriginalPayment" policytype_id="ReturnPayment" storeent_id="-1" /> |
QTYCONVERT | Inserisce la conversione di misure come ad esempio le libbre in chilogrammi utilizzando gli standard ISO. | <qtyconvert qtyunit_id_to="FTQ" qtyconvert_id="-45" qtyunit_id_from="YDQ" factor="27.00000000000000000000" multiplyordivide="M" updatable="N" /> |
QTYUNIT | Inserisce l'ID quantità per ciascuna unità di conversione. | <qtyunit qtyunit_id="ONZ" field1="0" /> |
SCHCONFIG | Inserisce le attività predefinite eseguite dal programma di pianificazione. | <schconfig sccjobrefnum="2112" member_id="-1000" sccrecdelay="0" sccrecatt="0" sccpathinfo="SendTransactedMsg" sccquery="none" sccstart="2000-11-07-20.55.52.686373" sccinterval="300" sccpriority="1" sccsequence="0" sccactive="A" storeent_id="0" /> |
STATECODE | Inserisce i codici dello stato e della provincia per i differenti paesi. | <statecode productvendor="XXX"
stateprovabbr="CA" stateprovcode="05" />
<statecode productvendor="XXX" stateprovabbr="CO" stateprovcode="06" /> |
TCSUBTYPE | Inserisce i termini e le condizioni per il supporto del contratto predefinito. | <tcsubtype tcsubtype_id="FulfillmentTC"
tctype_id="FulfillmentTC" accessbeanname="com.ibm.commerce.contract.objects.FulfillmentTCAccessBean"
/>
<tcsubtype tcsubtype_id="InvoiceTC" tctype_id="InvoiceTC" accessbeanname="com.ibm.commerce.contract.objects.InvoiceTCAccessBean" /> |
URLREG | Inserisce gli URL in modo che possano essere avviati dal browser. | <urlreg url="AddInitiativeToDeployment" storeent_id="0" interfacename="com.ibm.commerce.rules.deployment.commands.AddInitiativeToDeploymentCommand" https="0" |
USERS | Inserisce le informazioni relative all'ID utente. | <users users_id="-1000" dn="uid=wcsadmin,o=Root
Organization" registertype="S" profiletype="B"
lastsession="2000-11-07-20.54.54.431670" />
<users users_id="-1002" registertype="G" lastsession="2000-11-07-20.54.54.479418" /> |
VIEWREG | Inserisce i nomi vista predefiniti e le interfacce per i comandi. | <viewreg viewname="AccountRemarksView" devicefmt_id="-1" storeent_id="0" interfacename="com.ibm.commerce.tools.command.ToolsForwardViewCommand" classname="com.ibm.commerce.tools.command.ToolsForwardViewCommandImpl" properties="docname=tools/contract/AccountRemarks.jsp" https="1" internal="1" /> |
Nota: Si consiglia di non modificare alcun file bootstrap. Se modificato, un'istanza potrebbe non esssere creata correttamente e ciò potrebbe tradursi in un emissione di maggior supporto.
![]() |