on 09-02-2011 4:21 PM
Hi All,
I'm trying to create an OCI external catalog for my company's website and I'm having trouble with the shopping cart return to SRM (OCI version 4.0). The cart data is submitted as base64 encoded xml data in the field ~xmlDocument.
name="~xmlDocument" value="BASE64 ENCODED XML RESULT"
name="~xmltype" value="ESAPO-3.5"
Please check below for sample file created from Shopping cart. But I am not sure this XML template is right or even I am not sure about XML tag. Also the value between the XML tag is with quotation, Is this correct?
<BusinessDocument>
<CatalogHeader> </CatalogHeader>
<Catalog>
<CatalogID>64030</CatalogID>
<Product>
<CatalogKey></CatalogKey>
<ParentCategoryID></ParentCategoryID>
<OciMapping>
<NEW_ITEM-DESCRIPTION>"BOUFFANT CAPS WHITE 21" 1000/CS**"</NEW_ITEM-DESCRIPTION>
<NEW_ITEM-UNIT>"CS"</NEW_ITEM-UNIT>
<NEW_ITEM-QUANTITY>"1"</NEW_ITEM-QUANTITY>
<NEW_ITEM-PRICEUNIT>"1"</NEW_ITEM-PRICEUNIT>
<NEW_ITEM-PRICE>"90.4600"</NEW_ITEM-PRICE>
<NEW_ITEM-CURRENCY>"USD"</NEW_ITEM-CURRENCY>
<NEW_ITEM-LEADTIME>"3"</NEW_ITEM-LEADTIME>
<NEW_ITEM-VENDORMAT>"123456"</NEW_ITEM-VENDORMAT>
<NEW_ITEM-MANUFACTMAT>"123456"</NEW_ITEM-MANUFACTMAT>
</OciMapping>
</Product>
</Catalog>
</BusinessDocument>
Please guide me.
Thanks in advance.
Thank you,
Sneha
Hi,
Test the XML document in the transaction XSLT with transformation BBP_OCI_XML_TO_RFC. Any error will be reported there with the XML document.
Regards,
jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.