Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A SOAP endpoint to execute requests , is exposed directly without TpeSend/IIS at base port + 201. Please For information about calculating the base port number, 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 :

...

as shown in the example below.

Sample Extract Service Request
Code Block
collapselanguagetruexml
<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 used to execute an Extract on Extract Service. The

...

sendTo header and StreamName parameter

...

direct MC2 to execute an extract.

Info
  • The correlationId

...

  • is 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

...

  • , use the port number of the Eagle Web Server.