IConnectorAccess Sample Application

This sample illustrates how to create a Java application that sends input to and receives output from your Synapta Services Builder for IMS task, using XML described by the metadata in your Task Builder-generated task file. The sample application and the files used to create and deploy it are all installed on your computer when you install a Synapta Services Builder for IMS component.

Sample Files

This sample consists of several different files with different purposes. The purposes of each file are explained in the sections after the list below. The files below can be found in the following location:


Preparing the Task

For this kind of application, the task interface object is saved by Task Builder in the task definition phase, no generation or publishing is needed. For this sample, the task file is IVP.xml.

Calling the Task in an Application

The sample Java class takes 3 inputs:

See the comments in the IMSICA.class file for more information. The ims_client.properties is where logging options are set. You'll need to edit the user ID and password in the in.xml file to get the task to run.

Related Topics
Bullet Using XML
Bullet Attachmate Javadocs