on 02-10-2006 7:47 AM
hello all.
say if i need to trigger an application ( mind u, not retrieving data) is this possible with Xi...
say i have an C++ appln and i need to trigger this event thru Xi..
how do i go abt it..???
Regards..
Vishal
Hi,
you can triggger an inbound java proxy and inside
make a system command call that would start the c++
program <-- one of the ways...
maybe you can tell more what you want to call exacly ?
just start it?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey michal...
good to see u still answering..
yes, i just want to start my event..
>>>>>you can triggger an inbound java proxy and inside
make a system command call that would start the c++
program ....
can u pls explain the above in a bit more detailand also r ther any other ways..????
regards.
vishal
Hi,
>>>can u pls explain the above in a bit more detailand also r ther any other ways..????
if you call an inbound java proxy you can
code anything you like in it so you can try
you c++ from java
you could also write another c++ program that would start your original c++ program and this new one
would get invoked by operational ssytem command
(with parameters if you like) and it's very easy
to do operational system command from java
Regards,
michal
Hi,
This is just a idea -- configure CCMS alerts with Auto reaction method to call a Function module, try to trigger the C++ program in that function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vishal,
There can be some possibilities for this. I have not done it personally as there was no such requirement on our side.
But the possibilities could be
1) You can define a java function in Mapping.
in this function call the C++ program using Native API.
If your Xi server is on Windows platform , You have to deploy a .dll file on XI Server or if XI is on Linus it can be a .SO.
2) If you find some soap Api in the language you are writing code , you can have an http port or soap port on your application ,which is always listening. And then you hit the same port using XI .
3)You can develop your own Adapter and write the same code in Adapter as it is in your application.
Some IBM wizards help you in writing JCA Compliant custom Adapters.
Regards,
Yomesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.