[jboss-dev-forums] [jBPM Development] - Re: Connection to Web Service

AlessiaCarloEster SatIncRom do-not-reply at jboss.com
Mon Jul 11 11:49:40 EDT 2011


AlessiaCarloEster SatIncRom [http://community.jboss.org/people/ace_team] created the discussion

"Re: Connection to Web Service"

To view the discussion, visit: http://community.jboss.org/message/614472#614472

--------------------------------------------------------------
Hi again.
I'm trying to create a work item: it seems the only way to implement a web service connection (I still don't know how to do it!). As it's described in this post:  http://community.jboss.org/thread/161306 http://community.jboss.org/thread/161306 , I've created a new jBPM Project and a new "META-INF" folder in "*/usr/local/jBPM/jbpm-installer/workspace/WSCustomer/src/main/resource/*"  ("/usr/local/jBPM/" is jBPM's installation folder, "WSCustomer" is jBPM project's name). Is this the right place?

In this folder I've put 2 files:
1. "MyWorkDefinition.conf" (MyWorkDefinition is my work item's name) that contains:

> import org.drools.process.core.datatype.impl.type.StringDataType;
> 
> [
> 
>   [
>     "name" : "Notification",
>     "parameters" : [
>       "Message" : new StringDataType(),
>       "From" : new StringDataType(),
>       "To" : new StringDataType(),
>       "Priority" : new StringDataType(),
>     ],
>     "displayName" : "Notification",
>     "icon" : "icons/notification.gif"
>   ]
> 
> 

   2. "drools.rulebase.conf" that contains:

> drools.workDefinitions = MyWorkDefinitions.conf

But as I try to load eclipse bpmn editor, it returns "Could not parse work definitions MyWorkDefinitions.conf:null" error.

Can someone help me, please?!

Thanks,
Carlo
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/614472#614472]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110711/cb115ca1/attachment.html 


More information about the jboss-dev-forums mailing list