My Oracle Support Banner

Shopping Cart Fails In Punchout Error Code: 401 Invalid XML Format In Shopping Cart Document (Doc ID 375216.1)

Last updated on MARCH 15, 2022

Applies to:

Oracle iProcurement - Version 11.5.10 and later
Oracle Supplier Network - Version 5.1 and later
Information in this document applies to any platform.

Symptoms

Punchout to Supplier through Oracle Supplier Network (OSN). After checking out in supplier site, the cart is attempting to transfer back to iProcurement and it fails.

Executing Direct Punchout to the same supplier works fine.

Error
Error Code: 401 Invalid XML Format In Shopping Cart Document

Steps to reproduce
1. Click Punchout to Corporate ABC
2. Choose an item
3. Checkout to come back to iP

Detailed error message
------------------------
Error Code: 401 Invalid XML Format In Shopping Cart Document
Unable to parse the Shopping Cart XML.
XML Parser Type: PUNCHOUT_SHOPPING_CART_XML
Shopping Cart XML: <?xml version="1.0"?>
<OrderLinesDataElements>
<catalogTradingPartner>ABC</catalogTradingPartner>


</OrderLinesDataElements>
XMLParserException
XMLParserException
OrderLinesDataElements is missing in XML Document

at
oracle.apps.icx.punchout.parsers.PunchoutShoppingCartXMLParser.getItemVector(PunchoutShoppingCartXML
Parser.java:68)
at oracle.apps.icx.punchout.parsers.ShoppingCartXMLParser.parseXML(ShoppingCartXMLParser.java:98)
at
oracle.apps.icx.punchout.server.PunchoutAMImpl.parseShoppingCartAndUpdateSite(PunchoutAMImpl.java:18
02)
at oracle.apps.icx.punchout.server.PunchoutAMImpl.handleShoppingCart(PunchoutAMImpl.java:1648)
at oracle.apps.icx.punchout.server.PunchoutAMImpl.performCallback(PunchoutAMImpl.java:1279)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.