EagleML Web Service - Call Back RTR Message Configuration
We execute asynchronous extract task which should send a task status response to our web server at the end of execution. In order to specify which URL should be sent a response, add in the base a control message the node <replyTo> indicating the necessary alias:
<replyTo>http://myhost.com/callmyws</replyTo>
Note
You should define the alias, not the URL, unless they match.
Here is a run task request message for an extraction task:
<EagleML xmln:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0" actualBuild="1" xmlns=" http://www.eagleinvsys.com/2011/wsdl/EagleML-2-0"> Â Â Â <header> Â Â Â Â Â Â <messageId>ID:SMFEXTRACT01</messageId> Â Â Â Â Â Â <sentBy>user</sentBy> Â Â Â Â Â Â <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_message</sendTo> Â Â Â Â Â Â <replyTo>http://myhost.com/callmyws</replyTo> Â Â Â </header> Â Â Â <taskIdentifier> Â Â Â Â Â Â <correlationId correlationIdScheme="correlationIdScheme">73FB501DFF57BB33</correlationId> Â Â Â Â Â Â <businessTaskId correlationIdScheme="businessTaskIdScheme">ASYNC_SMFIST_EXTRACT</businessTaskId> Â Â Â </taskIdentifier> Â Â Â <taskTypeEnum>NEW</taskTypeEnum> Â Â Â <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_q</value> Â Â Â Â Â Â </taskParameter> Â Â Â Â Â Â <taskParameter> Â Â Â Â Â Â Â Â Â <name>FeedType</name> Â Â Â Â Â Â Â Â Â <dataType>S</dataType> Â Â Â Â Â Â Â Â Â <value>SMFEXTRACT</value> Â Â Â Â Â Â </taskParameter> Â Â Â Â Â Â <taskParameter> Â Â Â Â Â Â Â Â Â <name>fromdate</name> Â Â Â Â Â Â Â Â Â <dataType>S</dataType> Â Â Â Â Â Â Â Â Â <value>2010-05-20 18-00-00</value> Â Â Â Â Â Â </taskParameter> Â Â Â </taskParameters> </EagleML>