Skip to Content
0
Former Member
Aug 19, 2015 at 09:51 AM

Problem in customizing webservice in hybris 5.4

176 Views

I created a new extension using extgen for customizing webservices.

I added the entries in localextensions.xml file.

I added the following line in extensioninfo.xml file of the new extension (webservice) ->

 <webmodule jspcompile="false" webroot="/irocksTest"/>



I added the following 2 lines in project.properties file of the new extension (webservice) ->

 irocksTest.application-context=irocksTest-spring.xml
 
 commercewebservices.rootcontext=/irocksTest/v1/

Now when i try to invoke the webservcie using this ->

 http://localhost:9001/irocksTest/v1/electronics/products 

It does not call any webservice instead takes me to admin console screen to enter username and password.

I have kept everything else unchanged.

What might be the problem?