Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Service Operations : Creating New Services Using the Java API

Creating New Services Using the Java API
To create a new service, you need to create a new operation with your own class under the service protocol. You need to define a fully constructed class name implementing the IEDIServiceHandler interface, which is a part of the Java API shipped with the Service protocol.
Follow these steps to implement the new service:
 
Task A Create a class you wish to implement for a specific service
To do that, see TIBCO BusinessConnect EDI Protocol powered by Instream API Reference, Java API Reference.
Task B Compile the class
Compile the selected class.
Task C Place the compiled class in a specified directory
The new compiled class should be accessible by TIBCO BusinessConnect. Therefore, it has to be placed in the classpath defined in the .tra file, which is
BC_HOME/protocols/tibedi/lib/newClass.jar

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved