<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Patricia,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Note that the service task should contain an 
operationRef that refers to an operation defined as part of an interface in your 
process.&nbsp; The process would probably open fine if you included that 
element, though I must admit that it should probably be able to handle 
incomplete process specifications as well (but this is still work in progress, 
especially since Oryx is still using the old BPMN 2.0 beta1 
format).</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Note that the service task concept in BPMN2 matches 
with the work item node in Drools Flow.&nbsp; So while the editor contains 2 
predefined service tasks, is it possible to define your own, as explained in the 
documentation here:</FONT></DIV>
<DIV><FONT size=2 face=Arial><A 
href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch.Domain_Specific_Processes.html">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch.Domain_Specific_Processes.html</A></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Kris</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=patriciabogoevici@yahoo.com 
  href="mailto:patriciabogoevici@yahoo.com">Patricia Bogoevici</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org 
  href="mailto:rules-users@lists.jboss.org">Rules Users List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 03, 2010 9:47 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [rules-users] Drools BPMN 2.0 
  service task error for process editedusing Oryx</DIV>
  <DIV><BR></DIV>
  <TABLE border=0 cellSpacing=0 cellPadding=0>
    <TBODY>
    <TR>
      <TD vAlign=top>Hi all,<BR><BR>I am using Drools 5.1 release, and I am 
        testing the BPMN process definition created with Oryx designer. The main 
        problem I ran into is the serviceTask element. I cannot open the&nbsp; 
        process file created with Oryx designer, in Eclipse, as it complains 
        about this error:<BR><BR>"java.lang.IllegalArgumentException: No 
        interfaces found at 
        org.drools.bpmn2.legacy.beta1.ServiceTaskHandler.handleNode(ServiceTaskHandler.java:35)" 
        <BR><BR>Below is a snippet from the BPMN 2.0 xml file got using Oryx for 
        serviceTask. I also attached the whole xml file, in case that help. 
        <BR><BR>I appreciate a lot if someone can help me with this issue, as I 
        am practically stuck at this point. <BR><BR>On the other hand, I noticed 
        that Drools Eclipse workflow editor allows only for 2 types of service 
        tasks: Email and Log. Is that a limitation of the Eclipse workflow 
        editor, or the serviceTask is not implemented in Drools BPMN 2.0? 
        <BR>Can I use serviceTask BPMN 2.0 element in Drools workflow? 
        <BR><BR><BR>****** serviceTask from Oryx process 
        ******<BR>&lt;serviceTask implementation="webService" 
        completionQuantity="1" startQuantity="1" isForCompensation="false" 
        name="AH Web Service" 
        id="oryx_B84C15D7-ADA6-4956-8C43-3DFD02967BE1"/&gt;<BR><BR><BR>Thanks in 
        advance,<BR>Patricia<BR></TD></TR></TBODY></TABLE><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-users mailing 
  list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE><br>
<FONT FACE=3D"Helvetica" SIZE=3D2>Disclaimer: <A HREF="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</A> for more information.</FONT>
 <BR>

</BODY></HTML>