JBoss Community

Re: Connection to Web Service

created by AlessiaCarloEster SatIncRom in jBPM Development - View the full discussion

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 , 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

Start a new discussion in jBPM Development at Community