Mitch_Denis_38

How to call an Automic job externally (WebServices information)

Discussion created by Mitch_Denis_38 on May 23, 2014
Latest reply on Sep 1, 2016 by thomas_berreis_automic

As a continuation of"How to call an Automic job from PHP", here is some information on how to use the Automic Internal WebServices to execute a job within Automic from an external webpage.  This is based on a question the other day of how to call jobs in Automic from a webpage and the ECC was not an option.  

I personally am not aware of how to call this directly in a webpage and have only worked with external tools that consume WebServices.  All I am familiar with is the SOAP envelope, the setup of the Automic Internal WebServices, and the Jobs within Automic.  

Please feel free to add comments, suggestions, extra code to achieve this and I will add it to the main article as needed.

Requirements:

  • WebServices (wsdl) knowledge
  • A setup of the Automic Internal Webservices that has been tested and is known to work
  • A web server/program that can take a SOAP envelope and use it

WebService SOAP container contents:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uc4="http://www.uc4.com/uc4/">      <soapenv:Header/>      <soapenv:Body>           <uc4:executeObject>                <objectName>SCRI.HELLO.NAME</objectName>                <uc4TimezoneName/>                      <inputParameter>                     <name>name</name>                     <value>Bob</value>                </inputParameter>                <startDate/>                <waitForManualRelease/>           </uc4:executeObject>      </soapenv:Body> </soapenv:Envelope>

SCRI.HELLO.NAME Process tab contents:

:read &name#, , 'name' ,

: p 'Hello &name#!'

Outcomes