One of our developers wants to use the REST API from Powershell to query uCMDB 10.01.
Documentation is notable by its absence. SOAP is documented but not REST.
So far even enabling REST is proving a problem
With this in axis2.xml:
<!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
<parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
<!-- Following parameter will completely disable REST handling in both the servlets-->
<parameter name="disableREST" locked="true">false</parameter>
<!-- This will disable the separate servlet we have for REST handling. -->
<parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>
we still get an error :
Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml
Can anyone help ?
Re: REST API
I see that you have already enabled the following parameter to True :
You could try restarting the uCMDB service and also access the wsdl file using the url :
The following links have similar discussions :
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Click the KUDOS star to say 'Thanks'