Clarity Service Management

Expand all | Collapse all

Problems using CA Service Catalog SOAP Methods in CA ITPAM

Jump to Best Answer
  • 1.  Problems using CA Service Catalog SOAP Methods in CA ITPAM

    Posted 04-10-2017 12:08 PM

    Please your help.

     

    Has anyone used the CA Service Catalog custom  operators in PAM? We have problems for example with the login.

     

    Error:

     

    Failed to execute code:
    //set up outputs on this type of exception
    Process.ErrOpt = ExceptionAborted.Source;
    Process.OperatorResultCode_ = String.format( Process.GblMSGVals.ABORTED_EXCEPTION, Process.ErrOpt);
    Process.Message = String.format( Process.GblMSGVals.ABORTED_EXCEPTION, Process.ErrOpt);-- TypeError: Cannot find function format. (#4)

     

    Without login we could not use any other method... 

     

    Thanks for your suggestions,

     

    Regards,

    JOHN



  • 2.  Re: Problems using CA Service Catalog SOAP Methods in CA ITPAM

    Posted 04-10-2017 12:15 PM

    Using SDM + PAM + CATALOG + USS 14.1 CP3



  • 3.  Re: Problems using CA Service Catalog SOAP Methods in CA ITPAM

    Posted 04-17-2017 07:50 AM

    John,

     

    Is this error handling JS in the post-execution code for your login operator?

     

    It appears the error message you're getting is about your final line of code where you're setting Process.Message, it appears PAM doesn't recognize the String.format function.

     

    TypeError: Cannot find function format. (#4)

    If your comment is line one, String.format is on line #4 which seems to be what the error above is referring to.

     

    Does that help, or am I misunderstanding the code?

     

    Elwynn.



  • 4.  Re: Problems using CA Service Catalog SOAP Methods in CA ITPAM

    Posted 04-17-2017 09:40 AM

    Hi johnv ,

     

    I have Published documents about  this topic you can following at

    Summary CA Process Automation 

     

     

    Regards

    Tiago Macul



  • 5.  Re: Problems using CA Service Catalog SOAP Methods in CA ITPAM
    Best Answer

    Posted 04-17-2017 09:48 AM


  • 6.  Re: Problems using CA Service Catalog SOAP Methods in CA ITPAM

    Posted 04-27-2017 01:00 PM

    Thanks, your sample was very helpful.

     

    Summarizing, predefined SOAP Operators (CA SLCM Operators folder in PAM) has problems, so we were able to make it work using the General Web Service Operator called "Invoke SOAP Method", For details about methods we use the WebService API located in CA Service Catalog Administration /tools menu.

     

    Within PAM, in operator's properties/SOAP Call Data, we use the WSDL Wizard in order to defined the method we will be calling and in Dynamic Parameters we set Process variables as values for SOAP Method required input parameters.

     

    Again, thanks for your help.

     

    Regards,

    JOHN