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 » WebSphere Process Server (WID/WPS/WAS+) » Invoking BPEL with Jython

Post new topic  Reply to topic
 Invoking BPEL with Jython « View previous topic :: View next topic » 
Author Message
chauhan_vin1
PostPosted: Wed May 19, 2010 11:42 am    Post subject: Invoking BPEL with Jython Reply with quote

Apprentice

Joined: 24 Feb 2006
Posts: 36
Location: Phoenix AZ

Hi All,

I am trying to invoke a BPEL instance using Jython script.My BPEL does not have a input as DataObject , it uses just one parameter (type - long) as input.
I am not able to figure out . How should I pass this parameter under the ClientObjectWrapper:

--------------------------------------------------------------------------------
Here is my script :

from javax.naming import InitialContext
context = InitialContext()
home = context.lookup("com/ibm/bpe/api/BusinessFlowManagerHome")
bfm = home.create()
template = bfm.getProcessTemplate("ORMRefProcess")
print template.getInputMessageTypeName()
input = bfm.createMessage(template.getID(), template.getInputMessageTypeName());
print input
print template.getName()
piid = bfm.initiate(template.getName(), "ORMRefProcess11977v1", input) #part invoking BPEL instance


--------------------------------------------------------------------------------
The BPEL instance is invoked but there is no parameter passed , the input variable above is an instance of ClientObjectWrapper , i need to initialise it somehow to pass on my input , which is a simple type (long) (instructionId). How do I do it. ????? Any Ideas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Invoking BPEL with Jython
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.