July 11, 2008, 06:12 AM
ManuWriting functions in iWay 5.5 SM
Hy,
I see in Programmers guide that we can write functions to add them in Iway.
The problem is that I not understand how I must compile and package them.
Someone know how do this?
Thanks
Manu
July 23, 2008, 05:24 PM
BarbaraAHi Manu,
I had seen your post earlier and just came across this today and remembered your post:
http://iwse.ibi.com/iway55/documentation/smsp2/i_programmers.pdfIt is the iWay Service Manager's Programming Guide. Under Writing Management Components, there is a section called Writing Functions. Is that what you are looking for?
Good luck!
July 29, 2008, 03:34 AM
ManuThanks Barbara,
Yes, the programmer guide is what we need but it not explain how to compile new functions.
We are trying a solution using the iway integration tool, when we test it we share it here.
byes.
August 04, 2008, 10:48 AM
<Newsgroup Traveller>Hello Manu,
Can you tell us a litte more about what you're trying to do.
There are two ways, that I've used, to add functionality to the iWay software.
One is the custom agent, which can be used like the other XDAgent. And the other is the custom fuction, which can be used in the transformer.
You compile them the same way, with the java compiler:
C:\> javac myCustomFunction.java
This is a .CLASS file, you can import it in your Transformer project.
If you want to make a JAR file and place it in your classpath, you need to create a directory structure and use the jar tool to create the archive:
C:\> mkdir com\ibi\agents
C:\> copy myCustomFunction.class
C:\> jar cvf myFucntions.jar com
The directory structure is the same you see in the generated stub, the first line has a package directive, this is where you want to put your file in.
Hope that helps...
NGT
---
iSM 5.5 SP2, Windows 2003 Server SP2, MSSQL 2005 SP2