My Oracle Support Banner

In Oracle iProcurement, Error Occurs During Punchout for Many Catalog Items - 401 Invalid XML Format In Shopping Cart Document (Doc ID 2719694.1)

Last updated on AUGUST 11, 2021

Applies to:

Oracle iProcurement - Version 12.2.4 to 12.2.10 [Release 12.2]
Information in this document applies to any platform.

Symptoms

In Oracle iProcurement, Release 12.2.4 through 12.2.10, an error occurs during punchout where many items are used.


Error

Error Code: 401 Invalid XML Format In Shopping Cart Document
Unable to parse the Shopping Cart XML.
XML Parser Type: PUNCHOUT_SHOPPING_CART_CXML
Shopping Cart XML: <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.1.009/cXML.dtd">

(see the XML details for many items and then the following error stack appears)


<Description xml:lang="
XMLParserException
XMLParserException
oracle.xml.parser.v2.XMLParseException; lineNumber: 511; columnNumber: 1; Expected 'EOF'.
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:422)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:375)
    at oracle.apps.icx.punchout.parsers.XMLParser.parseByDOM(XMLParser.java:158)
    at oracle.apps.icx.punchout.parsers.ShoppingCartXMLParser.parseXML(ShoppingCartXMLParser.java:95)
    at oracle.apps.icx.punchout.server.PunchoutAMImpl.parseShoppingCartAndUpdateSite(PunchoutAMImpl.java:1803)
    at oracle.apps.icx.punchout.server.PunchoutAMImpl.handleShoppingCart(PunchoutAMImpl.java:1646)
    at oracle.apps.icx.punchout.server.PunchoutAMImpl.performCallback(PunchoutAMImpl.java:1289)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:741)
    at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:1051)
    at oracle.apps.icx.por.common.webui.PorBaseCOImpl.invokeMethod(PorBaseCOImpl.java:257)
    at oracle.apps.icx.punchout.webui.PunchoutCallbackCO.performCallback(PunchoutCallbackCO.java:520)
    at oracle.apps.icx.punchout.webui.PunchoutCallbackCO.processRequest(PunchoutCallbackCO.java:174)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:643)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:283)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1389)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1058)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1025)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:702)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:283)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1058)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1025)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:702)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:283)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2986)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:2133)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:586)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:474)
    at _pages.__oa._jspService(__oa.java:233)
..
..



Steps To Reproduce

The issue can be reproduced at will with the following steps:
1. Log in to Oracle Applications.
2. Navigate to an iProcurement responsibility > iProcurement Home Page.
3. Perform the punchout to the supplier site.  The errors will occur.

 

 

Changes

 

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
Changes
Cause
Solution
References


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