IT Process Automation

Expand all | Collapse all

Invoke SOAP Method to Start Process

Jump to Best Answer
  • 1.  Invoke SOAP Method to Start Process

    Posted 02-02-2017 02:14 AM

    hi, i would like to check if its possible to start a workflow without user name and password being parse in the SOAP body, or can the user name and password be in the SOAP header (basic SOAP authorization)

     

    <soap:Body>
    <c2oflow version="1.0">
    <flow name="/Tests/Run" action="start">
    <auth>
    <user>itpamadmin</user>
    <password>itpamdemo</password>
    </auth>

     

    YH



  • 2.  Re: Invoke SOAP Method to Start Process
    Best Answer

    Posted 02-02-2017 09:27 AM

    The SOAP API requires authentication, this requires either a username and password to be passed, or an Authentication Token.

    A token can be generated with a process as discussed here:

    getEEMCredentialsTokenForUser

     

    Otherwise you will need to pass the username and password as you are showed:
    <auth>
    <user>itpamadmin</user>
    <password>itpamdemo</password>
    </auth>

     

     

    You may want to look into use the REST API, which does allow you to pass the authentication in the header.

    RESTful API Reference