Jump to content

Search the Community

Showing results for tags 'webservice'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CA Service Desk Manager
    • General Discussions
    • Customizations / Modifications
    • Bugs / Errors / Patches
    • Knowledge Tools / Keyword Search
    • Support Automation
    • CMDB
    • Install / Migrate / Configure
    • Product Integration
    • Reporting
    • Workflow
  • Nimsoft Service Desk
    • General
  • General
    • Wiki Article Discussions
    • ITIL & Best Practices
    • Speak Out
    • Employment Opportunities

Calendars

  • Community Calendar

Categories

  • Getting Started
  • Installation
  • Configuration
  • Customization
  • Integration
    • CA Applications
    • Non-CA Applications
    • Custom Integrations
  • Reporting
  • Miscellaneous

Found 2 results

  1. C# Development Help

    Hi, i am very new to C# programming and was wondering if anyone has any code examples I could use for connecting to CA SDM; selecting Incident ticket information and generating a new ticket. I'm not looking anyone to write this code for me, as I would really like to learn - but i'm struggling with the more technical side. Would appreciate any help you could provide.
  2. Hello All, - CA SDM 12.7 I am currently trying to create a ticket through SOAP from a C# console application in VS. I am getting a strange error regarding my category. Category is verified to be correct. Below is the error and code. I am still new to CA SDM and I have no idea what to do with this error. I get this error on the createRequest() line. ERROR: System.ServiceModel.FaultException: Error setting attr 'category' on object 'cr:11094116' to value 'cr:155352323' HD03029:Bad_param in Dob_by_id. on cr:155352323 cr:155352323 USD_WebServiceSoapClient obj = new USD_WebServiceSoapClient(); int sid = obj.login(username, password); if (sid <= 0) { Console.WriteLine("Login: Failed."); } else { Console.WriteLine("Login: Success. \n"); Console.WriteLine("SID: " + sid + "\n"); try { userhandle = obj.getHandleForUserid(sid, username); } catch (TimeoutException timeProblem) { Console.WriteLine("The service operation timed out. " + timeProblem.Message); obj.Abort(); } catch(System.ServiceModel.FaultException Ex) { Console.WriteLine("Error Message: " + Ex.Message); USD_WebServiceSoapClient obj = new USD_WebServiceSoapClient(); int sid = obj.login(username, password); if (sid <= 0) { Console.WriteLine("Login: Failed."); } else { Console.WriteLine("Login: Success. \n"); Console.WriteLine("SID: " + sid + "\n"); //Console.ReadLine(); try { userhandle = obj.getHandleForUserid(sid, username); } catch (TimeoutException timeProblem) { Console.WriteLine("The service operation timed out. " + timeProblem.Message); obj.Abort(); } catch(System.ServiceModel.FaultException Ex) { Console.WriteLine("Error Message: " + Ex.Message); Console.ReadLine(); } Console.WriteLine("Handle: " + userhandle + "\n"); string[] attrVal = { "customer", userhandle, "category", category, "group", group, "description", description, "summary", summary, "status", status, "zcall_origin", origin, "urgency", "4", "impact", "5", "type", "R" }; // string[] prop = { "" }; string[] attr = { "pcat:155351157" }; requestHandle = ""; requestNumber = ""; Console.ReadLine(); } Console.WriteLine("Handle: " + userhandle + "\n"); string[] attrVal = { "customer", userhandle, "category", category, "group", group, "description", description, "summary", summary, "status", status, "zcall_origin", origin, "urgency", "4", "impact", "5", "type", "R" }; // string[] prop = { "" }; string[] attr = { "pcat:155351157" }; requestHandle = ""; requestNumber = "";
×