cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with OciMapping with XML

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

jason_boggans
Active Contributor
0 Kudos

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