The job Submit 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.
Input files
To send files to ITP/Server that can be collected with the function ReceiveFile. The content of the file as well as an ID are passed. ITP/Server can use this ID to collect the file.
SubmitResult
This contains the answer of ITP/Server to the Web Service request. It can contain;
You can find the complete WSDL interface specification (itpserverwsdl.xml and itpserverwrappedwsdl.xml) in the folder Manuals of your ITP/Server installation.
POST /itpserver/itpserver.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.aia-itp.com/itpserver/wsdl/Submit"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<service xmlns="http://www.aia-itp.com/itpserver/wsdl">string</service>
<parms xmlns="http://www.aia-itp.com/itpserver/wsdl">
<string>string</string>
<string>string</string>
</parms>
<inDocuments xmlns="http://www.aia-itp.com/itpserver/wsdl">
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
</inDocuments>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<error xmlns="http://www.aia-itp.com/itpserver/wsdl">string</error>
<outDocuments xmlns="http://www.aia-itp.com/itpserver/wsdl">
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
</outDocuments>
</soap:Body>
</soap:Envelope>
POST /itpserver/itpserverwrapped.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.aia-itp.com/itpserver/wsdl/Submit"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Submit xmlns="http://www.aia-itp.com/itpserver/wsdl">
<service>string</service>
<parms>
<parm>string</parm>
<parm>string</parm>
</parms>
<inDocuments>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
</inDocuments>
</Submit>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SubmitResponse xmlns="http://www.aia-itp.com/itpserver/wsdl">
<error>string</error>
<outDocuments>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
<Doc>
<id>string</id>
<content>base64Binary</content>
</Doc>
</outDocuments>
</SubmitResponse>
</soap:Body>
</soap:Envelope>
Client.cs offers the function SubmitJob(..) that can be used in a C# environment for creating and unwrapping the SOAP messages and posting the messages. Wsclient.cs is a sample implementation of the function SubmitJob(…). These functions are currently only available for the 'bare' version.