The Oracle Tuxedo Service Metadata Repository was developed to facilitate saving and retrieving Oracle Tuxedo service metadata. Oracle Tuxedo service metadata is a collection of Oracle Tuxedo service attributes that are especially useful in describing the request/response details of an Oracle Tuxedo service. The Oracle SALT gateway server (GWWS), relies on the Oracle Tuxedo Service Metadata Repository for conversions between the Oracle Tuxedo request/response format (buffer types) and standard SOAP message format.When invoking external Web services from an Oracle Tuxedo application, Oracle SALT provides a WSDL file converter, wsdlcvt. This command utility helps you to define Oracle Tuxedo service metadata from each Web service operation. The converted services are called SALT proxy services and can be invoked as normal Oracle Tuxedo services. Oracle SALT proxy services also need to be loaded in the Oracle Tuxedo Service Metadata Repository.To retrieve the Oracle Tuxedo service metadata information, you must configure the Oracle Tuxedo Service Metadata Repository system server (TMMETADATA), to be booted in the Oracle Tuxedo application.
Note: TMMETADATA must be booted prior to using any Oracle SALT gateway GWWS server.For more information, see “Oracle Tuxedo Service Metadata Repository” and Using Oracle Tuxedo Service Metadata Repository for Oracle SALT in the Oracle SALT Configuration Guide.
• SALT Deployment File (SALTDEPLOY)The SALT Web Service Definition File (WSDF) is an XML-based file used to define SALT Web service components (Web Service Bindings, Web Service Operations, Web Service Policies, and so on). The WSDF is a Oracle SALT specific representation of the Web Service Definition Language data model. There are two WSDF types: native and non-native.
• Native WSDFA native WSDF is created manually. You must define a set of Oracle Tuxedo services and how they are exposed as Web services in the WSDF. It looks similar to the SALT 1.1 configuration file. The native WSDF is the input file for the SALT WSDL generator (tmwsdlgen). For more information, see the Oracle SALT Configuration Guide.
• Non-native WSDFA non-native WSDF is generated from an external WSDL file that has been converted using the SALT WSDL converter (wsdlcvt). Basically, you do not need to change the generated WSDF (except to configure advanced features). For more information, seeThe Oracle SALT Deployment File (SALTDEPLOY) is an XML-based file used to define Oracle SALT GWWS server deployment information on a per Oracle Tuxedo machine basis. The SALTDEPLOY file lists all necessary WSDF files. It also specifies how many GWWS servers are deployed on an Oracle Tuxedo machine and associates inbound and outbound Web service endpoints for each GWWS server. The SALTDEPLOY file contains a system section where global resources are configured (including certificates and plug-in load libraries). For more information, see Creating the Oracle SALT Deployment File in the Oracle SALT Configuration Guide.Figure 1‑1 illustrates the Oracle SALT deployment model.Figure 1‑1 Oracle SALT Deployment ModelYou can configure your Oracle SALT application by using command-line utilities. Specifically, you can use an XML editor to create and edit the configuration file (WSDF files and SALTDEPLOY file) for your application, and then use the command-line utility named wsloadcf to translate the XML files (SALTDEPLOY file and referenced WSDF files) to a binary file (SALTCONFIG). You are then ready to boot the Oracle SALT gateway (GWWS) servers.A command that is initiated on each Oracle Tuxedo machine. It allows you to compile your application SALTDEPLOY file and referenced WSDF files into the binary SALTCONFIG file. The wsloadcf command loads the binary file to the location defined by the SALTCONFIG environment variable.A command that converts an external Web Service Description Language (WSDL) file into Oracle Tuxedo definition files (WSDF file, Oracle Tuxedo Service Metadata definition file, FML32 field table file and XML Schema file). The generated WSDF file is a non-native WSDF file used for Oracle SALT outbound calls specifically.A command that runs on the machine where Oracle Tuxedo Service Metadata Repository System Server (TMMETADATA) is booted. It loads the Oracle Tuxedo service metadata definition text files into the binary Oracle Tuxedo Service Metadata Repository file. You must load all existing Oracle Tuxedo services that are to be exposed as Web service operations in the Oracle Tuxedo Service Metadata Repository. You must also load all wsdlcvt generated Oracle SALT proxy services in the Oracle Tuxedo Service Metadata Repository.You can use the wsadmin(1)command-line utility to perform administrative functions for Oracle SALT gateway servers in your Oracle Tuxedo applications. Similar to the tmadmin, dmadmin and qmadmin commands, wsadmin is an interactive meta-command that enables you to run sub-commands.In an Oracle Tuxedo application, you can run wsadmin(1) on any machine to monitor and manage the Oracle SALT gateway servers defined in the Oracle Tuxedo application.
• SCA Composite Configuration File (.composite)
• SCA Component Configuration File (.componentType)There can be one or more components configured in the root composite file, and each of these components has its own .composite and .componentType file residing in its own subdirectory.There can be zero or more component elements within a composite. The root composite files must be stored in $APPDIR in a server environment.Listing 1‑1shows an example of a root composite which contains two components:Listing 1‑1 Root Composite with Two ComponentsListing 1‑2 SCA Composite Directory HierarchyThis example is a typical server configuration. The Oracle Tuxedo SCA client also has a similar application topology meaning that the client application is located in a subdirectory of the root composite file. Listing 1‑3 lists the directory structure for a client named EchoClient that uses the ECHO1 service provided by ECHO.Listing 1‑3 Directory StructureComponents are declared as sub-elements of a composite in an xxx.composite file. A component is represented by a component element that is a child of the composite element. Using the composite from Listing 1‑1, the 2 components (ECHO and TOUPPER), contains specific information. For the ECHO service ($APPDIR/ECHO/ECHO.composite), the ECHO.composite information is shown in Listing 1‑4.Listing 1‑4 ECHO.compositeThe ECHO service provides two Oracle Tuxedo services: ECHO1 and ECHO2. ECHO1 executes CPP function “EchoString1”. ECHO2 executes CPP function "EchoString2". The existence of $APPDIR/ECHO/ECHOImpl.componentType and $APPDIR/ECHO/ECHO.so. are implied. Listing 1‑5 shows information that may be contained in ECHOImpl.componentType.ECHO.so (or ECHO.dll Windows), is the shared library that contains the actual implementation of EchoString1 and EchoString2 and is loaded into memory when the service is initialized. ECHO1 and ECHO2 are dynamically advertised at server initialization. For example, if EchoServer is the Oracle Tuxedo server that provides these two services, the Oracle Tuxedo UBBCONFIG file should contain information as shown in Listing 1‑6.Listing 1‑5 ECHOImpl.componentTypeListing 1‑6 UBBCONFIG File ExampleFor the TOUPPER service, the existence of $APPDIR/TOUPPER/TOUPPER.composite is also implied by the ECHO.app.composite file. Listing 1‑7 shows information that may be contained in TOUPPER.composite file.Listing 1‑7 TOUPPER.composite file ExampleThis composite file also implies the existence of $APPDIR/TOUPPER/TOUPPERImpl.componentType and $APPDIR/TOUPPER/TOUPPER.so.
Note: Oracle Tuxedo SCA only supports "cpp" implementation types.
• Web module mod_tuxedo (for Apache or OHS), and tux_nsapi (for iPlanet). The configuration elements are located in the respective configuration files (httpd.conf or magnus.conf).
• The WEBHNDLR system server which serves HTTP requests proxied from mod_tuxedo or tux_nsapi. This system server is configured in the UBBConfig file and administered using regular Oracle Tuxedo commands.For more information, see Oracle SALT Installation Guide, Administering Oracle SALT at Runtime and Configuring an Oracle SALT Application.You can configure Oracle SALT SCA security by using the scapasswordtool command line utility. It manages passwords for Oracle Tuxedo authentication in the SCA client and populates the password store file (password.store).When an SCA component makes a reference to an Oracle Tuxedo-based service with Oracle Tuxedo security set to APP_PW or higher, the SCA component searches the password.store file to find the matching password and userID in the configuration composite file. The password is encrypted with the userID in plain text.
1. prompt > Enter scapasswordtool -i userID -a
2. prompt > Enter password: password
3. prompt > Confirm password: passwordTo delete a userID and password, enter: scapasswordtool -i userID -dOracle Tuxedo SCA components that declare services with ATMI binding are administered as a regular Oracle Tuxedo service. The administrator can to boot new instances of these servers, monitor or shut them down using existing Oracle Tuxedo commands such as tmadmin, tmboot, tmshutdown.The Administrator can monitor activity or availability of specific methods by using tmadmin and selecting the services declared in the ATMI bindings defined in the SCDL file.Each SCA server built using the buildscaserver command will also have administrative functionality that can be invoked using the scaadmin command line utility.Oracle SALT provides a set of command utilities for managing and supporting WS-TX transactions.The names and usages of these utilities are the same as Oracle SALT Reference Guide.For more information, see WX-TX Support in Oracle Tuxedo Interoperability and Configuring Oracle SALT WX-TX Support in the Oracle SALT Configuration Guide.
•