cancel
Showing results for 
Search instead for 
Did you mean: 

XML import in data hub

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

rafal_gdowski
Active Contributor
0 Kudos

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.