A SOAP endpoint to execute requests is exposed directly without TpeSend/IIS at base port + 201. For information about calculating the base port number, refer to Calculating Calculate MC2 Endpoints Port Numbers. The default SOAP endpoint port number is 20421. The SOAP endpoint can be accessed at: http://appserverhost:20421/services/eagle/v2/EagleMLWebService20 .
This SOAP Endpoint accepts EagleML RunTaskRequest messages as shown in the example below.
...
Sample Extract Service Request
Code Block | ||
---|---|---|
| ||
<soc:Envelope xmlns:soc="http://schemas.xmlsoap.org/soap/envelope/"> <soc:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <runTaskRequest xmlns="http://www.eagleinvsys.com/2011/wsdl/EagleML-2-0"> <EagleML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequestSync" eaglemlType="RunTaskRequest" eaglemlVersion="2.0"> <header> <messageId>CC59ADD40E1E069</messageId> <sentBy>http://www.client.com</sentBy> <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_out_extract_service</sendTo> <replyTo>http://www.client.com/Eagle Control Messages</replyTo> </header> <taskIdentifier> <correlationId>CORRID_07</correlationId> <businessTaskId>BUSINESSID_04</businessTaskId> </taskIdentifier> <taskTypeEnum>LOAD</taskTypeEnum> <synchronousExecution>yes</synchronousExecution> <taskParameters> <taskParameter> <name>ActionType</name> <dataType>S</dataType> <value>EXTRACT</value> </taskParameter> <taskParameter> <name>StreamName</name> <dataType>S</dataType> <value>eagle_ml-2-0_default_out_extract_service</value> </taskParameter> <taskParameter> <name>FeedType</name> <dataType>S</dataType> <value>SMFEXTRACT</value> </taskParameter> <taskParameter> <name>maxrows</name> <dataType>S</dataType> <value>1</value> </taskParameter> </taskParameters> </EagleML> </runTaskRequest> </soc:Body> </soc:Envelope> | ||
The above RTR is used to execute an Extract on Extract Service. The sendTo
header and StreamName
parameter direct MC2 to execute an extract.
Info |
---|
|