The OnlineStore noun is used to model a WebSphere Commerce store.
For each service call, three validation steps are performed:
BOD | Action Code / Access Profile | Action Expression | Service Provided | Sample XML Message | Client Library / Expression Builder |
---|---|---|---|---|---|
GetOnlineStore | {_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore |
This query will find all stores where the current user has the ability to perform the specified right. For example, the
query to
return the online stores where the current user can manage the online stores' catalog would be as follows: [_wcf.ap=IBM_Admin_Summary;_wcf.usage="IBM_CatalogTool"]/OnlineStore |
SummaryRequest SummaryResponseDetailsRequest DetailsResponseAllRequest AllResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / findAll | |
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[StoreIdentifier[(UniqueID='$storeId$')]] | The XPath will find the store with the specified internal store ID found at STOREENT.STOREENT_ID. | SummaryRequest SummaryResponseDetailsRequest DetailsResponseAllRequest AllResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / findByUniqueID | ||
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[StoreIdentifier[ExternalIdentifier[(NameIdentifier='$storeName$')]]] | The XPath will find the store with the exact name specified in the query for the current user with the specified usage. | SummaryRequest SummaryResponseDetailsRequest DetailsResponseAllRequest AllResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / N/A | ||
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[StoreIdentifier[ExternalIdentifier[(contains(NameIdentifier,'$storeName$'))]]] |
The XPath will find the store with the store name containing the string specified in the query for the current user with
the
specified usage. If the "$storeName$" is an empty string, all stores that are allowed for the specified usage will be returned. |
SummaryRequest SummaryResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / N/A | ||
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[StoreIdentifier[ExternalIdentifier[(starts-with(NameIdentifier,'$storeName$'))]]] |
The XPath will find the store with the store name starting with the string specified in the query for the current user
with the
specified usage. If the "$storeName$" is an empty string, all stores that are allowed for the specified usage will be returned. |
SummaryRequest SummaryResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / N/A | ||
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[StoreIdentifier[ExternalIdentifier[(ends-with(NameIdentifier,'$storeName$'))]]] |
The XPath will find the store with the store name ending with the string specified in the query for the current user
with the
specified usage. If the "$storeName$" is an empty string, all stores that are allowed for the specified usage will be returned. |
SummaryRequest SummaryResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / N/A | ||
{_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[search(StoreIdentifier/ExternalIdentifier/NameIdentifier='$storeName$')] {_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[search(contains(StoreIdentifier/ExternalIdentifier/NameIdentifier,'$storeName$'))] {_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[search(starts-with(StoreIdentifier/ExternalIdentifier/NameIdentifier,'$storeName$'))] {_wcf.ap=$accessProfile$;_wcf.usage='$usage$'}/OnlineStore[search(ends-with(StoreIdentifier/ExternalIdentifier/NameIdentifier,'$storeName$'))] |
The XPath will find the store that has a name that exactly matches part of the string specified in the query for the current user with the specified usage. This search() syntax can be used by any LOB tools so that store name input like "abc*", "*abc*", "*abc" or "abc" can be converted to the corresponding XPath using SearchExpressionBuilder utility. | SearchSummaryRequest SearchSummaryResponseSearchContainsSummaryRequest SearchContainsSummaryResponseSearchStartsSummaryRequest SearchStartsSummaryResponseSearchEndsSummaryRequest SearchEndsSummaryResponse |
InfrastructureFacadeClient.getOnlineStore(String,String) / findByName | ||
ProcessOnlineStore | Open | Opens a store. |
Request
Response |
InfrastructureFacadeClient.openStore | |
Close | Closes a store. |
Request
Response |
InfrastructureFacadeClient.closeStore | ||
ChangeOnlineStore | Add | /OnlineStore[1]/DefaultCatalog[1] | Adds a new default catalog configuration to the store |
Request
Response |
InfrastructureFacadeClient.addDefaultCatalog |
Change | /OnlineStore[1]/DefaultCatalog[1] | Updates default catalog configuration of the store. Currently, custom fields (Field1, Field2, and Field3) can be updated. |
Request
Response |
InfrastructureFacadeClient.changeDefaultCatalog | |
Delete | /OnlineStore[1]/DefaultCatalog[1] | Deletes an existng default catalog configuration of the store. |
Request
Response |
InfrastructureFacadeClient.deleteDefaultCatalog |
Some sample XML request and response web service messages are provided for each noun. These sample messages might not include all properties or attributes. To view a sample message that includes other properties or attributes, enable logging and tracing for the appropriate component and then call the web service to set or change the properties or attributes. Review the corresponding log file to see the request or response information.
Access Profile | Data Returned | |
---|---|---|
IBM_Admin_Summary |
|
Sample Summary Request Sample Summary Response |
IBM_Admin_Details |
|
Sample Detail Request Sample Detail Response |
IBM_Admin_All |
|