Table of Contents

Search

  1. Preface
  2. Web Service Concepts
  3. Understanding the Web Services Provider
  4. Using the Web Services Hub Console
  5. Batch Web Service Operations
  6. Writing Client Applications
  7. Working with Web Service Sources and Targets
  8. Editing Web Service Sources and Targets
  9. Working with Web Service Mappings
  10. Working with Web Service Workflows
  11. Appendix A: Web Service Sample Client Applications
  12. Appendix B: Configure the Web Browser

Web Services Provider Guide

Web Services Provider Guide

Using the Real-time Web Services Sample Programs

Using the Real-time Web Services Sample Programs

Before you use the real-time web services sample programs, PowerCenter must be installed and running. The PowerCenter domain must contain a Web Services Hub associated with a Repository Service.
The real-time web services sample programs are installed in the following directory:
/<PowerCenterInstallDir>/server/samples/WebServices
The real-time web services examples include the files to create the lookup tables and web service workflows to be used by the sample programs.
The following table lists files and directories in the /RealTimeWebServices directory:
Directory
Description
/samples/RealTimeWebServices/ImportXML
Contains the web service workflows called by the real-time web services sample programs. To use the sample programs, import the XML files into a repository and set up the database connections for the SQL and Lookup transformations in the web service workflows.
/lib
Contains the library files needed to run the sample programs.
/samples/RealTimeWebServices/SQLScripts /SINGLEROWLOOKUP
Contains the SQL scripts for creating the lookup tables used in the sample program for single row lookup. Run the SQL scripts to create the tables in a database you select.
/samples/RealTimeWebServices/SQLScripts /MULTIPLEROWLOOKUP
Contains the SQL scripts for creating the lookup tables used in the sample program for multiple row lookup. Run the SQL scripts to create the tables in a database you select.
/samples/RealTimeWebServices/Unprotected WebServices/axis/<
SampleProgramDirectory
>
Contains the Java sample programs. The source file for each real-time web services sample program can be found in a separate directory. Each directory contains the batch and script files to compile and run the sample program and subfolders for the proxy classes used by the sample program.
To use the real-time web services examples, you must complete the following steps:
  1. Create the database tables that the sample programs will use as lookup tables.
  2. Import the mappings and web service workflows into the repository associated with the Web Services Hub.
  3. Modify the database and datatypes for the SQL transformation in the m_CustomerLookup_MULTIPLEROW mapping.
  4. Set up the database connection settings in the sample workflows.
  5. Compile the real-time web services sample programs.
  6. Run the real-time web services sample programs.

0 COMMENTS

We’d like to hear from you!