Clarity

Expand all | Collapse all

Can CA PPM invoke a JSON WebService? How?

Jump to Best Answer
  • 1.  Can CA PPM invoke a JSON WebService? How?

    Posted 12-19-2018 03:35 PM

    Hi. There is a JSON web service which provides usefull information for CA PPM users.

    Is it possible to invoke it from CA PPM via GEL Script?

     

    Which additional configurarions or libraries does it require?

    Which limitations does it have?

     

     

    Thank you in advance.



  • 2.  Re: Can CA PPM invoke a JSON WebService? How?

    Posted 12-19-2018 07:58 PM

    Yes, parsing JSON file/data should be possible. CA PPM lib has json.jar file. You should be able to utilize the classes/methods from that package to parse JSON data in GEL code.

     

    * No additional library files required.

     

    Regards,

    Praneeth



  • 3.  Re: Can CA PPM invoke a JSON WebService? How?

    Posted 01-04-2019 03:39 AM

    You can refer to GEL Script consuming CA PPM REST API  where CA PPM REST api is consumed and extracted values by converting connection response to JSON. 



  • 4.  Re: Can CA PPM invoke a JSON WebService? How?

    Posted 01-07-2019 07:49 AM

    Thank you Prashank! Very useful.

    I see that tha article is only for self-consuming the CA PPM RESTful WebServices.

     

    Could you provide a general guideline for adapting this to an external RESTful WebService ?

    Is as simple as changing the httpRESTURL  / remoteURL ?

    Or do you need more variables to take into consideration?

     

     

    Regards



  • 5.  Re: Can CA PPM invoke a JSON WebService? How?

    Posted 01-08-2019 02:37 AM

    You just need to change httpRESTURL value and it will work for external web services as well. Try hard coding the url and then set property accordingly. let me know if you need any help with that.

     

     



  • 6.  RE: Re: Can CA PPM invoke a JSON WebService? How?

    Posted 06-27-2019 05:07 PM

    Hi @Prashank Singh​,
    I cannot access the link to the blog post. I believe it was not migrated to this new platform. Is there anyway you can recreate the blog post here?

    Regards,
    Gustavo




  • 7.  RE: Re: Can CA PPM invoke a JSON WebService? How?
    Best Answer

    Posted 06-28-2019 04:07 AM
    Hi @Gustavo de Almeida / DATAPREV,

    My Blogs were not migrated, however i have received a backup copy of these and will be creating blogs in PPM community.
    Meanwhile if you are looking for Blog to use REST API or consuming REST API in GEL then you can visit site: ​Pemari Blog
      1) GEL Script consuming CA PPM REST API
      2) CA PPM REST API

    Regards,
    Prashank Singh

    ------------------------------
    Lead Consultant
    Pemari Technology
    ------------------------------