The following workflow illustrates how to send the data you have received from the EcoSys API to a file. First, you must create a port for writing the service response to a file.
-
Right-click Port Surface, and then select New Port.
-
Right-click the new port, and select Configure.
The Port Configuration Wizard opens.
-
On the Port Properties pages, type FileWritePort in the Name box to rename the new port.
-
Click Next.
The Select a Port Type page displays.
-
Select Create a new Port Type, and then type FileWritePortType in the Port Type Name box.
-
Click Next.
The Port Binding page opens.
-
Select I'll always be sending messages on the port in the Port direction of communication list.
-
Select FILE in the Transport list, and then set the URL as needed.
-
Click Next, and then click Finish.