cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering an application thru Xi

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

MichalKrawczyk
Active Contributor
0 Kudos

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

Former Member
0 Kudos

thanks michal / yomesh...

can i also have some link or guide to help me out with this....

regards..

vishal

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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