on 08-19-2015 10:51 AM
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?
Have you executed an ant clean all
after you made the changes?
You can view the list of extensions started up in the hAC. Log into the hAC and navigate yourself to: Platform --> Extensions via the tabs.
the table lists all the extensions which started up with the server. There is also a column which specifies the web root of any extension with a web module. Can you see your custom OCC extension?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hris,
Have you added the platformwebservices
extension to the localextensions.xml
?
<extension name="platformwebservices" />
The 5.2 trail for Webservices contains this, the newer trails with R5T in the URL doesn't explicitly say this.
I hope this works,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
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.