on 08-04-2017 3:23 PM
HI,
We are not able to post the interaction from hybris commerce 6.3 to marketing server. Say I am trying to post interaction for action/interaction/ DP_MOST_SELL_PRODUCT prodId: 300791723 leadingitemdstypeSAP_HYBRIS_PRODUCT. In the SAPRecommendationRetrieveController registerClickthrough gets called. Consequently postInteraction methods get invoked.
In the code OdataProductRecommendationManagerCEI & ODataClientService I have included sysouts to trace the flow. I am getting the sysouts as attached. There are three things I am not clear. 1) Click through data has not been posted to marketing but I didn't receive any error at commerce console 2) for the first time after server restart I am able to see the initializeBatchConnection uri as https://marketinghost:4300/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/Interactions/?saml2=disabled on subsequent clicks on any products - I can only see https://marketinghost:4300/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/RecommendationScenarios/?saml2=di...
3) In the writeEntity method :Odata response.getStatus()- is always null. How do I know the post to marketing is success
Can some please help?
Thanks,
In release 6.3 the post to marketing is success only if HttpStatusCodes is HttpStatusCodes.CREATED
.
Therefore the method writeEntity
return a non null value.
Be aware that the entire sapcoreodata
extension has been deprecated in 6.4 and replaced by sapymktcommon
.
As of 6.4 release, a large amount of improvements has been performed with regards to consuming ODat with extension sapymktcommon
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Getting error in Hybris 6.7:
https://answers.sap.com/questions/12770235/hybris-67-recommendation-component-authorization-e.html
User | Count |
---|---|
6 | |
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.