on 08-05-2015 4:14 PM - last edited on 02-04-2024 2:52 AM by postmig_api_4
I sending Product Master Data from SAP to Hybris, I am following below link to sending Product,
https://wiki.hybris.com/display/release5/Replicating+Product+Master+Data+from+the+SAP+Back+End https://wiki.hybris.com/display/release5/sapproduct+Data+Hub+Extension https://wiki.hybris.com/display/release5/sapidocintegration+Data+Hub+Extension
I am sending Product master data by using MATMAS(SAP ERP). Getting data in console log files. Getting All Raw items in POSTMAN : http://localhost:9001/datahub-webapp/v1/pools/GLOBAL/items/RawMATMAS.xml
How to get Canonical Items in POSTMAN????? http://localhost:9001/datahub-webapp/v1/pools/GLOBAL/items/CanonicalBaseProduct.xml
When I am entering this link in postman to initiate publication of hybris. http://localhost:9001/datahub-webapp/v1/pools/SAPCUSTOMER_INBOUND_POOL/publications
with message body, {"poolName":"SAPCUSTOMER_INBOUND_POOL", "targetSystemPublications":[{"targetSystemName":"HybrisCore"}]}
3.a) message body as text, getting 415 unsupportedMediaType in postman getting MIME media type text/plain : Charset-UTF-8 was not found in console
3.b) message body as text/plain,
getting 415 unsupportedMediaType in postman getting MIME media type text/plain was not found in console
3.c) message body as html/text,
getting 415 unsupportedMediaType in postman getting MIME media type text/html was not found in console
3.d) message body as application/javascript,
getting 415 unsupportedMediaType in postman getting MIME media type application/javascript was not found in console
3.e) message body as xml/application,
getting 400 Bad request in postman
3.f) message body as xml/text,
getting 400 Bad request in postman
3.g) message body as application/json,
getting 400 Bad request in postman and TargetSystem for name HybrisCore has not been specified for target system publications TargetSystemPublicationDate{publicationId=null, startTime=null, endTime=null, status='null', targetSystemName='HybrisCore', actionId=3, poolName='null', numberOfErrors=0}
Please suggest.
I do not fully understand where the question above, but you can look at the troubleshooting sections of sapproduct : Troubleshooting
Also, as the CanonicalBaseProduct is read from the pool GLOBAL, the publication pool shall also be GLOBAL instead of SAPCUSTOMER_INBOUND_POOL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://localhost:9001/datahub-webapp/v1/pools/GLOBAL/items/RawMATMAS.xml getting some data.
http://localhost:9001/datahub-webapp/v1/pools/GLOBAL/items/CanonicalBaseProduct.xml getting Nothing
http://localhost:9001/datahub-webapp/v1/pools/GLOBAL/publications with message body, {"poolName":"GLOBAL", "targetSystemPublications":[{"targetSystemName":"HybrisCore"}]}
getting 400 Bad request, TargetSystem for name HybrisCore is not specified for target system publications TargetSystemPublicationDate{publicationId=null, status='null',targetSystemName='HybrisCore', poolName='null',numberOfErrors=0}
The RawMATMAS is a class deployed within the datahub-webapp/lib folder. The datahub-webapp classLoader loads the domain model using classes of its library. The attributes are loaded using the extension.xml of each extensions. Therefore, the sapproduct.jar is correctly deployed as part of the datahub-webapp but the loading of the sapproduct-datahub-extension.xml is not completed. Most likely due to missing properties during the startup of the tomcat. This happens with old version/patch.
User | Count |
---|---|
5 | |
1 | |
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.