Error Code: 401 Invalid XML Format In Shopping Cart DocumentUnable To Parse The Shopping Cart XML. (Doc ID 2084740.1)

Last updated on DECEMBER 04, 2015

Applies to:

Oracle iProcurement - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Punchout to Supplier or hub

When attempting to punchout to a supplier site, the following error occurs.

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"?>

<!DOCTYPE  cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.1.007/cXML.dtd">
<cXML xml:lang="en-US" payloadID ...
...
   </Header>
   <Message>
       <PunchOutOrderMessage>
           <BuyerCookie>12345</BuyerCookie>
                   </PunchOutOrderMessage>
   </Message>
</cXML>
XMLParserException
XMLParserException
PunchoutOrderMessageHeader is missing in cXML Document
at oracle.apps.icx.punchout.parsers.PunchoutShoppingCartCXMLParser.getItemVector(PunchoutShoppingCartCXMLParser.java:77)
at oracle.apps.icx.punchout.parsers.ShoppingCartXMLParser.parseXML(ShoppingCartXMLParser.java:98)
at oracle.apps.icx.punchout.server.PunchoutAMImpl.parseShoppingCartAndUpdateSite(PunchoutAMImpl.java:1828)
at oracle.apps.icx.punchout.server.PunchoutAMImpl.handleShoppingCart(PunchoutAMImpl.java:1674)
at oracle.apps.icx.punchout.server.PunchoutAMImpl.performCallback(PunchoutAMImpl.java:1320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  

STEPS
The issue can be reproduced at will with the following steps:
1. Go to iProcurement
2. Click on supplier link
3. See the error



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms