Posted on: 12/1/2013 1:49:32 PM | Views : 781

Hi,

Recently, we have invested in a servicedesk software. This software provides API's to read and write the service desk incidents in tho their system directly.
I am trying to create a simple test programme where on the click of the button I am reading a specific incident. (GetIncident is the name of a Method)
Below is the code I have written.
string SchemaDefination = @" xmlns=""http://www.SDP.com/vsa/2007/12/ServiceDeskDefinition.xsd"">"; WebRequest wr = WebRequest.Create("http://sdps.mycompany.co.in/vsaWS/vsaServiceDeskWS.asmx/GetIncident"); HttpWebRequest hwr = (HttpWebRequest)wr; hwr.Method = "POST"; hwr.Host = "sdps.mycompany.co.in"; hwr.ContentType = "application/soap+xml; charset=utf-8"; Stream rs = hwr.GetRequestStream(); StreamWriter sw = ...

Go to the complete details ...