CA Service Management

  • 1.  CI Creation Problem through web services

    Broadcom Employee
    Posted Nov 17, 2015 06:04 AM

    HI ALL

    client try to create the CI through webservices but getting the below error

    AHD03300:This operation requires Function Access for ci equal to View or Modify

     

    below is the script which they are using through VB

     

    USD_WebService caWS = new USD_WebService();

    string newexten = "", extenName = "", car = "";

    string assethndle, persistent_id = "";

    int sid = caWS.login("servicedesk", "P@ssw0rd");

    string[] attrVal = new string[] {

    "Name", "hello2", "Class", "grc:10000002"};

    string[] attr = new string[] { "persistent_id" };

    string[] prop = new string[] { "" };

    assethndle = "";

     

    caWS.createAsset(sid, attrVal, attr, ref car, ref assethndle, ref extenName, ref newexten);

    caWS.logout(sid);

     

     

    they are using user" Servicedesk"

    with full rights and they access the web services remotely

     

    please advise



  • 2.  Re: CI Creation Problem through web services

    Posted Nov 17, 2015 06:13 AM

    You need to check if for servicedesk user access type have functional access for CI set to view or modify



  • 3.  Re: CI Creation Problem through web services

    Posted Nov 17, 2015 06:14 AM

    Sorry



  • 4.  Re: CI Creation Problem through web services

    Posted Nov 17, 2015 09:01 AM

    With the Service desk manager Soap webservice, username are case sensitive

     

    If you do not respect case, it let you login, but you won't be able to perform operation such as asset or CI creation. I've lost a lot of hair the first time i've encoutered this one.

     

    So you should use : ServiceDesk.

     

    Don't ask my why, i won't be able to answer.



  • 5.  Re: CI Creation Problem through web services

    Posted Aug 08, 2018 08:21 AM

    You just saved me a lot of hair today.

     

    That was very helpful. Thanks for the tip pier-olivier.tremblay!