![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
TIBCO API Exchange Gateway supports the pass-though functionality using the DefaultOperation facade operation. You must configure a DefaultOperation facade operation for your project using the Config UI. See Configure DefaultOperation Facade Operation.Task A Start Config UITask B Enable Default OperationEnable the DefaultOperation feature as follows:
1. Select the Gateway Engine Properties from the drop-down list.
2. Click the General link.
3. Expand the Common node.
4. To set the runtime property in the asg.properties file, follow these steps:
1. Navigate to the ASG_CONIG_HOME directory.
2. Edit the asg.properties file in a text editor.
3. By default, TIBCO API Exchange Gateway provides the DefaultOperation facade operation for the example projects shipped with the product. For example, BookQuery project has a DefaultOperation operation configured under ROUTING > Facade Operations.To use the DefaultOperation feature for your project, configure a facade operation as follows:
• For the REST requests, configure a DefaultOperation facade operation as
1.
2. Click the Add Property icon.
Enter DefaultOperation as the name of the facade operation. For example, /asg/defaultOperation For example, Internal
• For the SOAP/HTTP, SOAP/JMS, and ESB requests, configure a DefaultOperation as follows:
1.
2. Click the Add Property icon.
Enter DefaultOperation as the name of the facade operation. For example, /asg/defaultOperation For example, "/GetDefaultOperation" For example, MWCConfigure a target operation (if not existing), where the DefaultOperation facade operation request is routed.For example, configure a HTTP type target operation for the DefaultOperation facade operation as follows:
1. Click the ROUTING > Target Operations tab.
2. Click the Add Property icon.
Table 69 Target Operation Configuration For example, http.DefaultTargetOperation For example, HTTP For example, /asg/test Configue a routing key for the DefaultOperation as follows:
1. Click the ROUTING > Routing tab.
2. Click the Add Property icon.
Table 70 Routing Key Configuration Select DefaultOperation from the drop-down list. Select Target Operation from the drop-down list. Select http.DefaultTargetOperation from the drop-down list.Configure the partner for DefaultOperation as follows:
1. Click the PARTNER > Facade Access tab.
2. Click the Add Property icon.
3.
Table 71 Facade Access Configuration Select anon from the drop-down list. Select DefaultOperation from the drop-down list.
1. Create the XSLT file, such as pass-through.xsl. Refer to the Sample XSLT File to override the fields in the request message.
2.
3. Click on MAPPING > Mapping tab.
4. Click the Add Property icon.
Enter a name for the mapping. For example, pass-through-map. Select XSLT from the drop-down list. Select the XSLT file. For example, pass-through.xsl. Select the XSLT file (pass-through.xsl) from the drop-down list, if the XSLT is located in the ASG_CONFIG_HOME/ASG_Project/xslt directory. Select Full from the drop-down list.
7.
8. Click the Add Property icon.
•
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |