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

Sample2.java and Sample2.cs

Sample2.java and Sample2.cs

This sample program logs in to a repository and connects to the associated Integration Service. It uses Metadata and Data Integration web services operations to access a folder in the repository and start and stop the first workflow found in the folder.
Directory:
/browsing
File to compile Java and C# samples:
CompileSample2.bat or CompileSample2.sh
File to run Java sample:
RunSample2.bat or RunSample2.sh
File to run C# sample:
Sample2.exe
The following table describes the parameters you use to run the Sample2 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.

0 COMMENTS

We’d like to hear from you!