Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

A SOAP endpoint to execute requests, exposed directly without TpeSend/IIS at base port + 201. Please refer to Calculate MC2 Endpoints Port Numbers on how to calculate the base port number.

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 as messages EagleML RunTaskRequest messages:

Sample Extract Service Request
<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>


Things to note:

  • The above RTR is to execute an Extract on Extract Service. The sendTo header and StreamName parameter are directing MC2 to execute an extract.
  • The correlationId should be unique for each of the requests.

The requests can also be sent to the authenticated Eagle Web Service MC2 Endpoint at:

http://webserver/services/eagle/v2/EagleMLWebService30

In this case we should use the port number of Eagle Web Server.



  • No labels