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

Sample1.java and Sample1.cs

Sample1.java and Sample1.cs

This sample program logs in to a repository and connects to two of the Integration Services associated with the repository. It uses Data Integration web services operations to get the properties of both Integration Services.
As the example shows, you must create two proxy objects for the Data Integration web services to log in to two Integration Services. Create one proxy object for each Integration Service that you want to log in to.
Directory:
/multiservers
File to compile Java and C# samples:
CompileSample1.bat or CompileSample1.sh
File to run Java sample:
RunSample1.bat or RunSample1.sh
File to run C# sample:
Sample1.exe
The following table describes the parameters you use to run the Sample1 application:
Parameter
Description
Security mode
Indicates the security mode in which to run the application. Pass the argument
-ns
to run the application in unsecure mode (HTTP).
The examples do not support secure mode (HTTPS).
Host name
Name or IP address of the machine on which the Web Services Hub is running.
Port number
Port number on which the Web Services Hub is running.
Repository domain name
Name of the domain that contains the Repository Service.
Repository name
Name of the Repository Service.
User name
User name to log in to the repository.
Password
Password for the user name to log in to the repository.
Integration Service domain name
Name of the domain that contains the Integration Service.
Integration Service name 1
Name of the an Integration Service associated with the repository.
Integration Service name 2
Name of a second Integration Service associated with the repository.

0 COMMENTS

We’d like to hear from you!