Skip to Content
author's profile photo Former Member
Former Member

Problem with OciMapping with XML

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 09, 2011 at 09:29 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.