<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: registerWorkItemHandler workItemName
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/tsurdilovic">Tihomir Surdilovic</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/622117#622117">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I made sure it opens fine in Designer. I have not played with the new Eclipse BPMN2 editor much but just from your pasted BPMN2 from the earlier post it seems like it has many issues. In your pasted BPMN2 there is a number of missing elements, some in the ioSpecification of the service task, then missing variable definition parameter nodes and thins like that. Here is the BPMN2 produced by Designer with a very similar process as yours (start task, service node, end task):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table><tbody><tr><td style=";">1.</td><td style=";">|</td><td style=";">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</td></tr><tr><td style=";">2.</td><td style=";">|</td><td style=";"><span>&lt;bpmn2:definitions xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>" xmlns="</span><a class="jive-link-external-small" href="http://www.omg.org/bpmn20" target="_blank">http://www.omg.org/bpmn20</a><span>" xmlns:bpmn2="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>" xmlns:bpmndi="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" target="_blank">http://www.omg.org/spec/BPMN/20100524/DI</a><span>" xmlns:dc="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" target="_blank">http://www.omg.org/spec/DD/20100524/DC</a><span>" xmlns:di="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" target="_blank">http://www.omg.org/spec/DD/20100524/DI</a><span>" xmlns:drools="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>" id="a89e1d83-57d7-441e-bde7-bcfc07046877" xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span> BPMN20.xsd" name="Sample Service Process" targetNamespace="</span><a class="jive-link-external-small" href="http://www.omg.org/bpmn20" target="_blank">http://www.omg.org/bpmn20</a><span>"&gt;</span></td></tr><tr><td style=";">3.</td><td style=";">|</td><td style=";">&lt;bpmn2:itemDefinition id="_sItem" structureRef="String"/&gt;</td></tr><tr><td style=";">4.</td><td style=";">|</td><td style=";">&lt;bpmn2:process id="serviceProcess" drools:packageName="defaultPackage" name="Sample Service Process" isExecutable="true"&gt;</td></tr><tr><td style=";">5.</td><td style=";">|</td><td style=";">&lt;bpmn2:startEvent id="_AE376570-6FDE-4862-AAB0-8FE9AFB6F3F9" name=""&gt;</td></tr><tr><td style=";">6.</td><td style=";">|</td><td style=";">&lt;bpmn2:outgoing&gt;_BF300974-57DC-4219-82F6-5BA95FC29589&lt;/bpmn2:outgoing&gt;</td></tr><tr><td style=";">7.</td><td style=";">|</td><td style=";">&lt;/bpmn2:startEvent&gt;</td></tr><tr><td style=";">8.</td><td style=";">|</td><td style=";">&lt;bpmn2:serviceTask id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87" drools:servicetaskinterface="org.jbpm.examples.junit.HelloService" drools:servicetaskoperation="hello" name="Service Task" implementation="Other" operationRef="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ServiceOperation"&gt;</td></tr><tr><td style=";">9.</td><td style=";">|</td><td style=";">&lt;bpmn2:incoming&gt;_BF300974-57DC-4219-82F6-5BA95FC29589&lt;/bpmn2:incoming&gt;</td></tr><tr><td style=";">10.</td><td style=";">|</td><td style=";">&lt;bpmn2:outgoing&gt;_1F57B200-3F32-45BC-A775-BB3FC333EAF6&lt;/bpmn2:outgoing&gt;</td></tr><tr><td style=";">11.</td><td style=";">|</td><td style=";">&lt;bpmn2:ioSpecification id="_5Qp0ocymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">12.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataInput id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ParameterInput" name="Parameter"/&gt;</td></tr><tr><td style=";">13.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataOutput id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ResultOutput" name="Result"/&gt;</td></tr><tr><td style=";">14.</td><td style=";">|</td><td style=";">&lt;bpmn2:inputSet id="_5Qp0osymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">15.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataInputRefs&gt;_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ParameterInput&lt;/bpmn2:dataInputRefs&gt;</td></tr><tr><td style=";">16.</td><td style=";">|</td><td style=";">&lt;/bpmn2:inputSet&gt;</td></tr><tr><td style=";">17.</td><td style=";">|</td><td style=";">&lt;bpmn2:outputSet id="_5Qp0o8ymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">18.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataOutputRefs&gt;_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ResultOutput&lt;/bpmn2:dataOutputRefs&gt;</td></tr><tr><td style=";">19.</td><td style=";">|</td><td style=";">&lt;/bpmn2:outputSet&gt;</td></tr><tr><td style=";">20.</td><td style=";">|</td><td style=";">&lt;/bpmn2:ioSpecification&gt;</td></tr><tr><td style=";">21.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataInputAssociation id="_5Qp0pMymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">22.</td><td style=";">|</td><td style=";">&lt;bpmn2:sourceRef&gt;s&lt;/bpmn2:sourceRef&gt;</td></tr><tr><td style=";">23.</td><td style=";">|</td><td style=";">&lt;bpmn2:targetRef&gt;_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ParameterInput&lt;/bpmn2:targetRef&gt;</td></tr><tr><td style=";">24.</td><td style=";">|</td><td style=";">&lt;/bpmn2:dataInputAssociation&gt;</td></tr><tr><td style=";">25.</td><td style=";">|</td><td style=";">&lt;bpmn2:dataOutputAssociation id="_5QqbsMymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">26.</td><td style=";">|</td><td style=";">&lt;bpmn2:sourceRef&gt;_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ResultOutput&lt;/bpmn2:sourceRef&gt;</td></tr><tr><td style=";">27.</td><td style=";">|</td><td style=";">&lt;bpmn2:targetRef&gt;s&lt;/bpmn2:targetRef&gt;</td></tr><tr><td style=";">28.</td><td style=";">|</td><td style=";">&lt;/bpmn2:dataOutputAssociation&gt;</td></tr><tr><td style=";">29.</td><td style=";">|</td><td style=";">&lt;/bpmn2:serviceTask&gt;</td></tr><tr><td style=";">30.</td><td style=";">|</td><td style=";">&lt;bpmn2:sequenceFlow id="_BF300974-57DC-4219-82F6-5BA95FC29589" sourceRef="_AE376570-6FDE-4862-AAB0-8FE9AFB6F3F9" targetRef="_8D551B36-A5AF-4808-9D50-7691FB2A1B87"/&gt;</td></tr><tr><td style=";">31.</td><td style=";">|</td><td style=";">&lt;bpmn2:sequenceFlow id="_1F57B200-3F32-45BC-A775-BB3FC333EAF6" sourceRef="_8D551B36-A5AF-4808-9D50-7691FB2A1B87" targetRef="_B68024DD-A828-494F-843A-29C48087EEFB"/&gt;</td></tr><tr><td style=";">32.</td><td style=";">|</td><td style=";">&lt;bpmn2:endEvent id="_B68024DD-A828-494F-843A-29C48087EEFB" name=""&gt;</td></tr><tr><td style=";">33.</td><td style=";">|</td><td style=";">&lt;bpmn2:incoming&gt;_1F57B200-3F32-45BC-A775-BB3FC333EAF6&lt;/bpmn2:incoming&gt;</td></tr><tr><td style=";">34.</td><td style=";">|</td><td style=";">&lt;bpmn2:terminateEventDefinition id="_5QqbscymEeCp6N3BENwuag"/&gt;</td></tr><tr><td style=";">35.</td><td style=";">|</td><td style=";">&lt;/bpmn2:endEvent&gt;</td></tr><tr><td style=";">36.</td><td style=";">|</td><td style=";">&lt;bpmn2:property id="s" itemSubjectRef="_sItem"/&gt;</td></tr><tr><td style=";">37.</td><td style=";">|</td><td style=";">&lt;/bpmn2:process&gt;</td></tr><tr><td style=";">38.</td><td style=";">|</td><td style=";">&lt;bpmn2:interface id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ServiceInterface" name="org.jbpm.examples.junit.HelloService"&gt;</td></tr><tr><td style=";">39.</td><td style=";">|</td><td style=";">&lt;bpmn2:operation id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_ServiceOperation" name="hello"&gt;</td></tr><tr><td style=";">40.</td><td style=";">|</td><td style=";">&lt;bpmn2:inMessageRef&gt;_8D551B36-A5AF-4808-9D50-7691FB2A1B87_InMessage&lt;/bpmn2:inMessageRef&gt;</td></tr><tr><td style=";">41.</td><td style=";">|</td><td style=";">&lt;/bpmn2:operation&gt;</td></tr><tr><td style=";">42.</td><td style=";">|</td><td style=";">&lt;/bpmn2:interface&gt;</td></tr><tr><td style=";">43.</td><td style=";">|</td><td style=";">&lt;bpmn2:message id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_InMessage" itemRef="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_InMessageType"/&gt;</td></tr><tr><td style=";">44.</td><td style=";">|</td><td style=";">&lt;bpmn2:itemDefinition id="_8D551B36-A5AF-4808-9D50-7691FB2A1B87_InMessageType"/&gt;</td></tr><tr><td style=";">45.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNDiagram id="_5QqbssymEeCp6N3BENwuag"&gt;</td></tr><tr><td style=";">46.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNPlane id="_5Qqbs8ymEeCp6N3BENwuag" bpmnElement="serviceProcess"&gt;</td></tr><tr><td style=";">47.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNShape id="_5QqbtMymEeCp6N3BENwuag" bpmnElement="_AE376570-6FDE-4862-AAB0-8FE9AFB6F3F9"&gt;</td></tr><tr><td style=";">48.</td><td style=";">|</td><td style=";">&lt;dc:Bounds height="30.0" width="30.0" x="144.0" y="206.0"/&gt;</td></tr><tr><td style=";">49.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNShape&gt;</td></tr><tr><td style=";">50.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNShape id="_5QqbtcymEeCp6N3BENwuag" bpmnElement="_8D551B36-A5AF-4808-9D50-7691FB2A1B87"&gt;</td></tr><tr><td style=";">51.</td><td style=";">|</td><td style=";">&lt;dc:Bounds height="80.0" width="100.0" x="219.0" y="181.0"/&gt;</td></tr><tr><td style=";">52.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNShape&gt;</td></tr><tr><td style=";">53.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNEdge id="_5QqbtsymEeCp6N3BENwuag" bpmnElement="_BF300974-57DC-4219-82F6-5BA95FC29589"&gt;</td></tr><tr><td style=";">54.</td><td style=";">|</td><td style=";">&lt;di:waypoint xsi:type="dc:Point" x="159.0" y="221.0"/&gt;</td></tr><tr><td style=";">55.</td><td style=";">|</td><td style=";">&lt;di:waypoint xsi:type="dc:Point" x="269.0" y="221.0"/&gt;</td></tr><tr><td style=";">56.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNEdge&gt;</td></tr><tr><td style=";">57.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNEdge id="_5Qqbt8ymEeCp6N3BENwuag" bpmnElement="_1F57B200-3F32-45BC-A775-BB3FC333EAF6"&gt;</td></tr><tr><td style=";">58.</td><td style=";">|</td><td style=";">&lt;di:waypoint xsi:type="dc:Point" x="269.0" y="221.0"/&gt;</td></tr><tr><td style=";">59.</td><td style=";">|</td><td style=";">&lt;di:waypoint xsi:type="dc:Point" x="378.0" y="221.0"/&gt;</td></tr><tr><td style=";">60.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNEdge&gt;</td></tr><tr><td style=";">61.</td><td style=";">|</td><td style=";">&lt;bpmndi:BPMNShape id="_5QqbuMymEeCp6N3BENwuag" bpmnElement="_B68024DD-A828-494F-843A-29C48087EEFB"&gt;</td></tr><tr><td style=";">62.</td><td style=";">|</td><td style=";">&lt;dc:Bounds height="28.0" width="28.0" x="364.0" y="207.0"/&gt;</td></tr><tr><td style=";">63.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNShape&gt;</td></tr><tr><td style=";">64.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNPlane&gt;</td></tr><tr><td style=";">65.</td><td style=";">|</td><td style=";">&lt;/bpmndi:BPMNDiagram&gt;</td></tr><tr><td style=";">66.</td><td style=";">|</td><td style=";">&lt;/bpmn2:definitions&gt;</td></tr></tbody></table></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/622117#622117">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>