Highlighted
Absent Member.. Absent Member..
Absent Member..
122 views

REST API

Hello,

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 ?

 

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: REST API

I see that you have already enabled the following parameter to True :

enableRESTInAxis2MainServlet

 

You could try restarting the uCMDB service and also access the wsdl file using the url :

http://servername:port/axis2/services/ucmdbSMService?wsdl

 

 

The following links have similar discussions :

1. http://support.openview.hp.com/selfsolve/document/KM1159562

 

2. http://h30499.www3.hp.com/t5/Project-and-Portfolio-Management/Message-quot-Please-enable-REST-support-in-WEB-INF-conf-axis2/td-p/5406693#.UhMPo5Jnrzx

 

3. http://h30499.www3.hp.com/t5/uCMDB-Support-Customer-Forum/Working-on-UCMDB-Web-Service/m-p/6035067#M633

 

“Micro Focus Support
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'
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.