SubmitEx2

The job SubmitEx2 takes the same parameters as the SubmitEx job plus an extra string parameter to indicate in which session the job should run. The job SubmitEx2 takes the following parameters:

Service
This is the name of the service the job is submitted to, e.g., RunMdl.

Parameters
The parameters for the job. They are passed as a string to the Web Services interface.

Key/value pairs
Array of key/value pairs, which are used for the function exchange_data.

Input files
Used to send files to ITP/Server that can be collected with the function ReceiveFile. The content of the file as well as the ID are passed. ITP/Server can use this ID to collect the file.

Job ID
The job will run on ITP/Server with this ID. If no job ID is passed on, the Web Service API will use a unique ID, so you can track your job in the ITP/Server logs.

SessionID
The job will run on ITP/Server within the context of the ITP session indicated by the sessionID. If no valid sessionID is passed on, ITP/Server will execute the job.

SubmitExResult
This contains the answer of ITP/Server to the Web Service request. It can contain the following objects:

Sample request for SubmitEx2

POST /itpserver/services/ITPServer HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""

<soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsdl="http://wsdl.aia_itp.com">
<soapenv:Header/>
<soapenv:Body>
<wsdl:SubmitEx2>
<wsdl:service>string</wsdl:service>
<wsdl:parms>
<wsdl:string>string</wsdl:string>
<wsdl:string>string</wsdl:string>
</wsdl:parms>
<wsdl:inKeyValues>
<wsdl:KeyValue>
<wsdl:key>string</wsdl:key>
<wsdl:value>string</wsdl:value>
</wsdl:KeyValue>
<wsdl:KeyValue>
<wsdl:key>string</wsdl:key>
<wsdl:value>string</wsdl:value>
</wsdl:KeyValue>
</wsdl:inKeyValues>
<wsdl:inDocuments>
<wsdl:Doc>
<wsdl:content>base64Binary</wsdl:content>
<wsdl:id>string</wsdl:id>
</wsdl:Doc>
</wsdl:inDocuments>
<wsdl:sessionID>string</wsdl:sessionID>
<wsdl:jobID>string</wsdl:jobID>
</wsdl:SubmitEx2>
</soapenv:Body>
</soapenv:Envelope>

Sample response for SubmitEx2

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:SubmitExResponse xmlns="http://wsdl.aia_itp.com">
<SubmitExResult>
<error>OK</error>
<outDocuments>
<Doc>
<content>base64Binary</content>
<id>string</id>
</Doc>
</outDocuments>
<outKeyValues>
<KeyValue>
<key>string</key>
<value>string</value>
</KeyValue>
<KeyValue>
<key>string</key>
<value>string</value>
</KeyValue>
</outKeyValues>
<progress>
<string>string</string>
<string>string</string>
</progress>
</ns1:SubmitExResult>
</ns1:SubmitExResponse>
</soap:Body>
</soap:Envelope>