• UNIX samples: $TUXDIR/samples/salt
• Windows samples: %TUXDIR%\samples\saltOracle SALT allows external Web service applications to invoke native Tuxedo services (inbound), and conversely, allows Tuxedo applications to invoke external Web services (outbound). There are 10 bundled Web service sample applications that demonstrate how to invoke Oracle SALT using Oracle WebLogic, Apache Axis or Microsoft .NET toolkits.The Basic Sample demonstrates how to export a simple Tuxedo service as a Web service. The Tuxedo simpapp sample is used as an existing application to be exported as a Web service.This sample contains all needed files to configure and export the simpserv server TOUPPER service as a Web service. The Web service accepts a single a string parameter and converts it to uppercase. The client calls the service, and then prints the returned string.Applicable Client Program(s): Oracle WebLogic, Apache Axis for Java, Microsoft .NET.The Attachment Sample demonstrates how to transport CARRAY buffer types as MIME attachments according to SwA Protocol (SOAP with Attachment) in a SALT Web service. The Tuxedo simpapp sample is used as an existing application to be exported as a Web service. This sample contains all needed files to configure and export the simpserv server TOUPPER service as a Web Service.Applicable Client Program(s): Oracle WebLogic.Applicable Client Program(s): Oracle WebLogic.The Date Type Sample demonstrates how Tuxedo typed buffer are used in Oracle SALT. In this sample shows how the FML and VIEW buffers and their sub-fields are defined in the Tuxedo Service Metadata Repository, and represented in a WSDL document. The WSDL document file generation utility, tmwsdlgen is used in this sample.Applicable Client Program(s): Oracle WebLogic.This ReliableMessaging Sample demonstrates how to use Oracle SALT WS-Reliable Messaging support and asynchronous communication with WS-Addressing. The Tuxedo bankapp sample is used as the Tuxedo application service provider. A WebLogic Server Web service client and standalone java Web service client are also included in this sample.Applicable Client Program(s): Oracle WebLogic.The Security Sample leverages the existing Tuxedo xmlstockapp sample in a stock price query scenario. The STOCKQUOTE service is exported as a Web service by the GWWS server.Applicable Client Program(s): Oracle WebLogic.
• TOUPPER: Username token authentication.
• TOLOWER: Username token and X.509 token authentication. Message integrity secured by signed soap body.
• REVERT: X.509 token authentication. Message integrity secured by signed soap bodyApplicable Client Program(s): Oracle WebLogic.The Basic Sample can invoke a regular Tuxedo ATMI service, or the SCA component may be invoked by a regular ATMI client. Also, the same SCA code can run without using <binding.atmi> in its SCDL configuration, demonstrating the flexibility of the setup.The Advanced Sample contains all the needed files to configure and deploy an SCA component hosted on a Tuxedo server, as well as the needed files to compile and configure an SCA client program to invoke the component. Data exchanged between client and component is of type commonj::sdo::DataObject, with the underlying transport being Tuxedo ATMI using STRING and FML32 Tuxedo buffers. It represents an end-to-end application of SCA and SDO technology.The Advanced Sample can invoke a regular Tuxedo ATMI service, or the SCA component can be invoked by a regular ATMI client. Also, the same SCA code may run without using <binding.atmi> in its SCDL configuration, demonstrating the flexibility of the setup.