ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » User defined Plug-in Node to execute C# executable

Post new topic  Reply to topic
 User defined Plug-in Node to execute C# executable « View previous topic :: View next topic » 
Author Message
srailkar
PostPosted: Tue Jun 20, 2006 5:32 am    Post subject: User defined Plug-in Node to execute C# executable Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 20, 2006 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message
srailkar
PostPosted: Tue Jun 20, 2006 5:46 am    Post subject: User defined Plug-in Node to execute C# executable Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 20, 2006 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
srailkar
PostPosted: Tue Jun 20, 2006 6:33 am    Post subject: User defined Plug-in Node to execute C# executable Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 20, 2006 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
srailkar
PostPosted: Tue Jun 20, 2006 6:54 am    Post subject: User defined Plug-in Node to execute C# executable Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » User defined Plug-in Node to execute C# executable
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.