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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]Extending Commands using CommandHandler

Post new topic  Reply to topic
 [Solved]Extending Commands using CommandHandler « View previous topic :: View next topic » 
Author Message
anuppc
PostPosted: Tue Aug 26, 2003 12:02 pm    Post subject: [Solved]Extending Commands using CommandHandler Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Hi,

I have been trying to extend the 'built-in' commands by writing a CommandHandler class. This class extends GenericCommandHandler class and i have an implementation method for a command lets say "x-commandA".


I have also set the webclient properties to point to the commandhandler class.

When i try invoking the command it says "com.ibm.workflow.servlet.client.ClientException: Invalid command sent x-commandA"

Any idea how i can get this to work....?

meanwhile ..... i noticed an instantiation exception for my custome command handler class...... i have put the file in the classpath... even tried 'jar'ing the class and added the same to classpath... still the same exception....
_________________
BlowFish


Last edited by anuppc on Tue Aug 26, 2003 3:13 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
anuppc
PostPosted: Tue Aug 26, 2003 3:12 pm    Post subject: [Solved]Extending Commands using CommandHandler Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Sorry guys.....

Well stupid mistake from my part... the constructor was protected.....


Now it works.... thanks
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]Extending Commands using CommandHandler
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.