CA Service Management

  • 1.  httprequest

    Posted Aug 14, 2018 04:52 PM

    I want logon a get same data but i have a few response can i filter them?

     

     

    Dim inStream As StreamReader     Dim webRequest As WebRequest     Dim webresponse As WebResponse      Dim request As HttpWebRequest = webRequest.Create("https:/x.x.x")     request.CookieContainer = New CookieContainer     request.Credentials = New NetworkCredential(login, "password")     Dim respone = request.GetResponse()     inStream = New StreamReader(respone.GetResponseStream())     TextBox1.Text = inStream.ReadToEnd


  • 2.  Re: httprequest

    Broadcom Employee
    Posted Aug 14, 2018 05:08 PM

    We are going to need more information as to what you are doing and what you need.  Are you attempting to make soap calls into Process Automation or from a Process into another application?



  • 3.  Re: httprequest

    Posted Aug 15, 2018 03:34 AM

    i want create desktop aplication, i want download list of incydent from Service Desk Manager to txt file. I try do this by httrequest, i send request "GET", i have sso. When i crete httprequest in resposne when i am reading to end i recived 2 html body:

    sometimes body with sid and fid

    sometime body without sid and fid



  • 4.  Re: httprequest

    Broadcom Employee
    Posted Aug 15, 2018 10:05 AM

    Ok, so you are designing a CA Process Automation process to communcate with Service Desk Manager to retrieve some data and write this to a text file?

    Is this correct?

    Are you getting the data you need properly and are trying to filter it or are you having a problem just getting the information from Service Desk?



  • 5.  Re: httprequest

    Posted Aug 15, 2018 10:23 AM

    Yes, i recived two anather respone (on left is one respone, on right is second response) i want recived only this on leftre



  • 6.  Re: httprequest

    Broadcom Employee
    Posted Aug 15, 2018 10:38 AM

    Neither of the images show CA Process Automation.   Are you simply trying to query information from the Service Desk API?  

    I can move this to their community if necessary.



  • 7.  Re: httprequest

    Posted Aug 15, 2018 12:41 PM

    yes



  • 8.  Re: httprequest

    Broadcom Employee
    Posted Aug 15, 2018 01:45 PM

    Ive moved this to the Service Management forum for assistance with the Service Desk API



  • 9.  Re: httprequest

    Posted Aug 15, 2018 10:10 PM

    Hi Grzegorz,

     

    What you seem to be doing here is logging on to Service Desk Manager and getting the contents of the forms. If you want the contents of specific records then you are better to use either the SOAP or the REST API. Do you have access to the SDM host that you are querying? If so you will find some sample code making web service calls in the 'samples' folder in the SDM install directory. The SOAP wsdl should be accessible at http://your_host_name:8080/axis/services/USD_R11_Webservice?wsdl.

     

    The documentation for the SOAP and REST APIs is available on docops.ca.com.

     

    For the SOAP API you could start at https://docops.ca.com/ca-service-management/17-1/en/reference/ca-service-desk-manager-reference-commands/technical-reference/web-services-methods.

     

    For the REST API you could start here: https://docops.ca.com/ca-service-management/17-1/en/reference/ca-service-desk-manager-reference-commands/technical-reference/rest-http-methods .

     

    Details of specific methods are also available.

     

    Hope that helps get you started.

    Regards,

    James