Author |
Message
|
srailkar |
Posted: Tue Jun 20, 2006 5:32 am Post subject: User defined Plug-in Node to execute C# executable |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
Can anyone guide me or point me to documentation on - Developing a Plugin node to execute C# executable?
Appreciate you help.
Thanks.
Shobha |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 20, 2006 5:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Please be much more specific.
Plugin to what? Execute how? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 20, 2006 5:46 am Post subject: User defined Plug-in Node to execute C# executable |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
I need to create an User Defined Plugin in WBIMB 6.1 which will execute a C# executable. The INPUT XML Message will be process and passed to the C# program which is actually a WEBService call already in production. It will be executed in the Broker environment.
-Shobha |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 20, 2006 5:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If the C# program is already a Web Service, then use the HTTP Request node to INVOKE the Web Service, not call the C# program.
There are no bindings for WMB plugins to interact with a C# runtime. You have the choice of two APIs only - straight C (not even C++) or Java. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 20, 2006 6:33 am Post subject: User defined Plug-in Node to execute C# executable |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
Jeff,
Thanks for reconfirming my first thoughts on this and for the suggestions of using HTTPRequest Response. I realised that C and Java are the only ways for UDE, however, I was wondering if using the UDE for C and calling C# executable from within C Plugin is doable? Appreciate your thoughts on that.
Certain portion of the Webservice will not be evoked if I use the UDE to generate the out message and execute the C# program. The Webservice has several C# programs that execute, I need only one C# to execute.
Shobha |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 20, 2006 6:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can certainly do a system or fork call from within a C plugin.
I think you will very rapidly find yourself in very very deep trying to instantiate a C# runtime environment from within the C plugin environment. I don't recommend trying it at all.
If you don't need the entire exposed web service, then it sounds like the web service is not granular enough. Maybe you can work it from that angle, get the single C# piece that you need exposed as an individual web service, rather than as part of a composite service. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
srailkar |
Posted: Tue Jun 20, 2006 6:54 am Post subject: User defined Plug-in Node to execute C# executable |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
Thanks much.
I will approach this differently. I think you are right, about the complexity and it also make sense to set the single program as a webservice known only to this process.
Thanks again.
Regards,
Shobha |
|
Back to top |
|
 |
|