Transaction Calls Using URLs
You can use the following URL to run a transaction: http://<servername>/XMII/Runner?
You can pass parameters to a transaction through the URL. You may have different parameters for each transaction. You can pass the following predefined command line parameters to the Web service:
Parameter | Description |
| Folder and transaction name of the transaction you want to run. (<folder>/<transactionname>) If the transaction is in the root folder, you only need to specify the transaction name. This parameter is required. |
| Debugging level. The value can be one of the following:
|
| Name of the transaction property to which you want to post a document. The default value is null. <transactionParamName> |
| Property value returned from the transaction. The default value is null. If you pass the wildcard value *, all non-XML data type property values are returned. You can return XML data type values individually by explicitly referencing them using this parameter. <transactionParamName,*> |
| The amount of time to retain transaction information in the database from the end of execution. Only applies when <expirationTimeInMilliseconds> |
| Controls the persistence of the transaction into the Transaction Manager database. The value can be one of the following:
|
| Controls the transaction runtime environment. If the value is |
| If the value is |
| If the value is |
| Transaction property name-value pair <transactionPropertyValue> |
| Controls the persistence of the transaction output to the database. Only applies when |
| The response data structure returned from the URL call. For example, text/xml, text/html. |
You want to call a transaction named YieldCalc in the Test folder. You want to pass a value of 10.0 to the YieldFactor input parameter and return the YieldAverage transaction property.
To do so, use the following URL:
http://<servername>/XMII/Runner?Transaction=Test/YieldCalc&YieldFactor=10.0&OutputParameter=YieldAverage
The default response is similar to the following:
<Rowsets DateCreated="2009-
12
-2
3
T
16:52:53
"
End
Date="2009-
12
-2
3
T1
6:52:53"
<Rowset>
<Columns>
<Column Name="YieldAverage" SourceColumn="YieldAverage"
Description
=""
SQLDataType
="
8
"
MinRange
="
0
"
MaxRange
="
0" />
</Columns>
<Row>
<YieldAverage>62.308633176</YieldAverage>
</Row>
</Rowset>
</Rowsets>