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
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?
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
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?
Yes, i recived two anather respone (on left is one respone, on right is second response) i want recived only this on leftre
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.
Ive moved this to the Service Management forum for assistance with the Service Desk API
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.