SAP Knowledge Base Article - Preview

2379731 - Exception "SEVERE: SAAJ0008: Bad Response; input_not_correct" AOM scenario

Symptom

  • Sending an IDOC (orders) from SAP Hybris to ERP backend, the following exception appears on Datahub log:
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0008: Bad Response; input_not_correct
2016-11-14 08:09:13,348 [ERROR] [c.h.d.s.i.DefaultIDocSender] Sending IDoc encountered a message handling error
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (409input_not_correct
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:149) ~[na:1.8.0_66]
at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocSender.sendIDoc(DefaultIDocSender.java:96) ~[sapidocoutboundadapter-6.1.0.0-RC4.jar:na]
at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendSingleIDoc(DefaultIDocOutboundAdapter.java:520) [sapidocoutboundadapter-6.1.0.0-RC4.jar:na]
at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.sendIDocs(DefaultIDocOutboundAdapter.java:501) [sapidocoutboundadapter-6.1.0.0-RC4.jar:na]
at com.hybris.datahub.sapidocoutboundadapter.impl.DefaultIDocOutboundAdapter.publish(DefaultIDocOutboundAdapter.java:426) [sapidocoutboundadapter-6.1.0.0-RC4.jar:na]
at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:259) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:101) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]

at com.hybris.datahub.service.impl.PublicationActionHandler.publishToTargetSystems(PublicationActionHandler.java:325) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:126) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:93) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:69) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.service.impl.DefaultPoolActionQueueConsumer.lambda$null$131(DefaultPoolActionQueueConsumer.java:54) [datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) ~[na:1.8.0_66]
at com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor$2.run(ExceptionHandlingAsyncTaskExecutor.java:80) ~[datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_66]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_66]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_66]
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (409input_not_correct
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:264) ~[na:1.8.0_66]
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:145) ~[na:1.8.0_66]
... 29 common frames omitted
2016-11-14 08:09:13,368 [ERROR] [c.h.d.s.i.PublicationActionHandler] Error publishing action: 1
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at com.hybris.datahub.domain.jpa.entities.ManagedCanonicalItemEntity_$$_jvst7b_2.getItemType(ManagedCanonicalItemEntity_$$_jvst7b_2.java) ~[datahub-entity-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.repository.converter.CanonicalItemConverter.toCanonicalItem(CanonicalItemConverter.java:44) ~[datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.model.ManagedTargetItemDelegate.getCanonicalItem(ManagedTargetItemDelegate.java:39) ~[datahub-service-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at com.hybris.datahub.model.TargetItem.getCanonicalItem(TargetItem.java:258) ~[datahub-api-6.1.0.0-RC3.jar:6.1.0.0-RC3]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_66]

at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_66]
2016-11-14 08:09:13,380 [INFO] [c.h.d.s.i.PublicationActionHandler] Failing publication action: 1
2016-11-14 08:09:13,404 [DEBUG] [c.h.d.s.p.i.DefaultDataHubPublicationService] setting publication status to FAILURE

Read more...

Environment

  • Datahub  and Hybris platform version:6.1.0.1

Product

SAP Hybris Commerce 6.1

Keywords

  • AOM
  • SOAP
  • input_not_correct
  • Bad response
  • Order replication
  • 409
  • HttpSOAPConnection
  • 409input_not_correct
  • Datahub
  • Data hub
  • DataHub
  • SAP Hybris
  • Hybris
  • Integration
  • ERP
  • backend
, KBA , CEC-COM-HUB , SAP Hybris Data Hub , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.