Once you have designed and implemented the service contract, you configure how the service is exposed to clients. This involves specifying the address where the services can be found, the transport and message encoding it uses to send and receive messages, and the type of security it requires. WCF supports two ways to configure services: in code and through configuration files.
ActiveMatrix Implementation Type for WCF Host integrates WCF services with the ActiveMatrix platform. A WCF Host component functions as the host environment for a Microsoft WCF service. A Microsoft WCF service hosted using the Implementation Type for WCF Host can consume services deployed within the ActiveMatrix environment as well as external Microsoft WCF Services.
ActiveMatrix Implementation Type for WCF Host requires that you generate WSDL files that represent the WCF services. Also, it requires that you configure a services and references within an application configuration file. After you import the WCF Host implementation, the associated WSDL/schemas, and the application config file into TIBCO Business Studio, amend the application configuration file with ActiveMatrix specific configuration in the WCF Config File Editor.
TIBCO ActiveMatrix Implementation Type for WCF Host contains a sample hello world service. As shown in
Figure 1, the example consists of two services—Hello World service and Date Manager service—that work together to return an acknowledgement string when a user submits a name to a Hello World SOAP client.
The files for the sample are located in the folder AMX_HOME\extensions\wcfhost\1.0\samples\HelloDateTime. This folder contains a
readme.txt file that describes how to run the service and invoke it from a client in TIBCO Business Studio and the following subfolders: