on ‎2020 Sep 03 9:48 AM
Currently our cXML Punchout implementation (SAP hybris standard) does not print the Doctype on a response.
The the endsyste needs it:
Wed Sep 02 00:19:42 PDT 2020 (T12:prealm_1234:global\c1234:PasswordAdapter1:db2wer:C123_UI1) (application.cxml:ERROR) [ID1234]: CXMLDOMRequester: Unable to parse cXML response with error: org.xml.sax.SAXParseException: Document root element "cXML", must match DOCTYPE root "null".
I tried to do some research:
One request goes to
de.hybris.platform.b2bpunchoutaddon.controllers.pages.DefaultPunchOutSetUpController.handlePunchOutSetUpRequest()
and it returns a CXML Object. This Object goes through some mapper and converter. But no where it adds the Doctype.
Then I found
de.hybris.platform.b2bpunchoutaddon.converter.CXMLJaxb2MessageConverter
For me the spring configuration looks correct:
<alias name="cXMLJaxb2MessageConverter" alias="jaxbMessageConverter" />
<bean id="cXMLJaxb2MessageConverter"/>
Right now I despair on this problem. Does any of you know how to fix it?
Request clarification before answering.
Hi paul.kalbing
Do you have solution for this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.