2018 Feb 26 10:41 PM - edited 2024 Feb 04 4:37 AM
Hello,
Getting Unexpected IDOC received error If I move the Idoc integration configuration into idocintegration.xml file instead of configuring in the custom extension. I defined the mapping, activator and dummymapping service and this dummy mapping service is overridden in the custom extension.
If I put everything in the custom extension working fine. I am missing some thing not sure what it is..
Custom extension has this..
<int:header-value-router input-channel="idocXmlInboundChannel" header-name="IDOCTYP">
<int:mapping value="TEST_PRODUCT_MATERIAL" channel="TESTPRODUCT" />
</int:header-value-router>
<int:service-activator id="saperpproductTESTPRODUCTServiceActivator" input-channel="TESTPRODUCT" output-channel="rawFragmentDataInputChannel"
ref="saperpproductTESTPRODUCTMappingService" method="map" />
<bean id="saperpproductTESTPRODUCTMappingService" class="com.hybris.datahub.sapidocintegration.IDOCMappingService">
<property name="rawFragmentDataExtensionSource" value="custom extension name" />
<property name="rawFragmentDataType" value="RawTestPCustomProduct" />
</bean>
If I move the mapping and activator to idocintegation xml file then it is not working.. I have idocintegration as dependency in raw.xml file.
If my raw spring xml has only IDOCMappingService implementation then I am getting the above error.
Thanks in adavance.
Request clarification before answering.
| User | Count |
|---|---|
| 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.