%
%  $Id$
%
%  Copyright (c) 2003-2004 RIACA, Technische Universiteit Eindhoven (TU/e).
%  All Rights Reserved.
%

\section{Execution Manager API}

The API of the Execution Manager is given by its WSDL file as it is published
as an web service. In Java syntax the API of the Execution Manager is defined
as follows:

\bigskip
\begin{verbatim}
        String executePlan(String mpl);
\end{verbatim}

\bigskip
\noindent In WSDL this maps onto a structure with the following signature:

\begin{verbatim}
    <message name="ExecMgrIF_executePlan">
      <part name="String_1" type="xsd:string" /> 
    </message>
    <message name="ExecMgrIF_executePlanResponse">
      <part name="result" type="xsd:string" /> 
    </message>
    <portType name="ExecMgrIF">
      <operation name="executePlan" parameterOrder="String_1">
        <input message="tns:ExecMgrIF_executePlan" /> 
        <output message="tns:ExecMgrIF_executePlanResponse" /> 
      </operation>
    </portType>
\end{verbatim}

Previously we described the input of the Execution Manager to be MPL. For ease 
of use this is mapped onto a string. Be aware that the internal structure of 
the Execution Manager will convert this string to an MPL document and work with 
that. The output was describe earlier as to be MEL. Internally the output is an 
MEL document, but for convenient use this is also mapped onto a string.
