The getProductXMLById Web service retrieves the Product item in XML form as specified by the ProductId. If custom catalogs are used then the catalog item is retrieved as specified by CatalogId. If no catalog item is found then the user in the current session is accessed and the catalog item is retrieved from the user.

Servlet name

getProductXMLById

Input Parameters

productId - Specifies the product to retrieve
catalogId – (Optional) Specifies the catalogItem to check for the product. This is only relevant if using custom catalogs. If using custom catalogs, and this parameter is null, then the current users catalog will be used.

Output

Product item in XML form.

Web Service Class

atg.commerce.catalog.CatalogServices

Nucleus Component

/atg/commerce/catalog/CatalogServices

Method

getProductXMLById(String pProductId, String pCatalogId)

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/catalog/getProductXMLById?WSDL

Endpoint URL

http://hostname:port/commerce/catalog/getProductXMLById/getProductXMLById

Security FunctionalName

catalog

Repository Component

/atg/commerce/catalog/ProductCatalog

Item Descriptor

product

 
loading table of contents...