How to create a web service that will get xml file with products from resource server and import it into Hybris Commerce?
Asked
Active
Viewed 817 times
2 Answers
0
I prefer using cronjob, because of performance issues.
Step one:
You can get xml file with rest using this example https://stackoverflow.com/a/12251265/2847159 and save it as media or temporarily.
Step two:
Create new cronjob which process that xml file and convert it to impex file.
Step three:
Start OOTB impex import cron job for processing new impex.
NOTE: If xml file little, you can directly start impex import cron job in rest service.

mkysoft
- 5,392
- 1
- 21
- 30
0
If interested, you can check bmecat
extension.
https://help.hybris.com/6.5.0/hcd/8b6c475086691014815cd5174177294d.html

Free-Minded
- 5,322
- 6
- 50
- 93