DX Unified Infrastructure Management

 View Only
  • 1.  Working on rest api

    Posted Feb 21, 2019 02:26 AM

    I want to add maintenance through rest API and for that i deployed webservices_rest template where wasp probe is present. After deploying when i try to add schedule through maintenance i got below error:

     

    HTTP Status 404 - Not Found


    type Status report

    message Not Found

    description The requested resource is not available.


    Apache Tomcat/7.0.81

     

    Anyone experiencing the same issue and did troubleshooting?

     

    Thanks & Regards,

    Ramneek Singh



  • 2.  Re: Working on rest api

    Posted Feb 21, 2019 07:51 AM

    Check if you can access.
    http://<your_UMP_address>/rest/application.wadl



  • 3.  Re: Working on rest api

    Posted Feb 21, 2019 08:52 AM

    yeah the doc says to deploy where wasp is, but it needs to be deployed to the ump robot.

    Also it is version specific, so webservices_rest 9.0.2 will not work with uim 8.51

    the 404 is most likely due to it being deployed to the wrong system or using the wrong system in the url

    another test is:

    http://<umpserver IP address or name>:8080/rest/version-info
    or try it without the port:
    http://<umpserver IP address or name>/rest/version-info