on 02-17-2015 8:56 AM - last edited on 02-04-2024 5:27 AM by postmig_api_4
Hey All,
I was going through the Hybris Datahub learning and found it quite interesting. I went through the trail and implemented the CSV Import project (csv-web-services). Later on I tried to implement the same for the XML. Here I am facing issues with the rest call that is always pinging to the CSV project not the new one (xml-web-services). I tried to search out the resource (controller) but had no luck with it. How can I configure the Data Hub to look for the new controller?
Vikrant,
I recommend looking at how it's done in the csv-web-service extension. You can download the zip file from here: https://wiki.hybris.com/display/release5/Data+Hub+Solution+Book#DataHubSolutionBook-Release5.4.0.0 . Basically, all you need to do is create a jersey resource (look at the example) and annotate it appropriately.
The Data Hub does not currently support Spring MVC controllers OOTB; your extension would have to provide all of the configuration and spring jars to make that work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.