CA SDM:: Webservice updateObject cr_wf C# Sample

Document created by TMACUL Champion on Nov 14, 2018
Version 1Show Document
  • View in full screen mode

CA SDM:: Webservice updateObject cr_wf C# Sample

 

 

int sid;
string[] attrVals = new string[2] { "status", "REJ" };
string[] attributes = new string[1] { "status"};
string objecthandle;
try
{
ServiceReference1.USD_WebServiceSoapClient ws = new ServiceReference1.USD_WebServiceSoapClient();
string user = ConfigurationManager.AppSettings["user"].ToString();
string password = ConfigurationManager.AppSettings["password"].ToString();

sid = 0;
sid = ws.login(user, password);
objecthandle = "cr_wf" + Request.QueryString["id"];
ws.updateObject(sid, objecthandle, attrVals, attributes);
lblResposta.Text = "Atualizado!";
ws.logout(sid);
}
catch { lblResposta.Text = "Nao foi possivel realizar a atualizacao!"; }

Objetos do CA SDM - CA Service Management - 14.1 - Portuguese - Brazil - CA Technologies Documentation 

 

 

know_more.png

CA Service Desk WebService  / CA SDM Trabalhando com WebService 

CA SDM::. Webservice login C# 

 

Summary CA Process Automation 

Summary CA Service Management Community 

Service Desk Manager 15 days Implementation 

CABI:: Summary - BOXI for CA SDM 

Summary CA SDM Scoreboard 

 

 

Was useful, please leave your feedback!

Attachments

    Outcomes