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 the associated Integration Service. It starts two threads and passes the Data Integration web service proxy object to both threads. On one thread, it starts a workflow on the Integration Service and waits until it completes. On the other thread, it gets the properties of the Integration Service. Similarly, you can use a Metadata web services proxy object in multiple threads.
Directory:
/multithreaded
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
Name of the Integration Service.
Folder name
Name of the folder in the repository that contains the workflow.
Workflow name
Name of a workflow in the repository.

0 COMMENTS

We’d like to hear from you!