CA Service Management

CA SDM:: Webservice updateObject cr_wf C# Sample 

Nov 14, 2018 12:39 PM

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!

Statistics
0 Favorited
14 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.