[jboss-user] [JBoss jBPM] - Create Task WS (jbpm-bpel)

cr3 do-not-reply at jboss.com
Wed Jun 11 20:08:02 EDT 2008

Hi there,

Does any body know how to create a new task on a JBPM flow using the "Task" sample that comes when you download jbpm-bpel?

I've already deployed the webservice on my JBoss server, and when I try to test it everything seems to go fine, but when I get back to the Jbpm Console and try to start the new task I got the next Error:

Error loading task: An exception of type "java.lang.NullPointerException" was thrown.  
Error starting task: The task instance value is null  

My soap client has the following structure:

<soapenv:Envelope  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:task="http://jbpm.org/examples/task" xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">
            <!--You may enter ANY elements at this point-->
               <!--You may enter ANY elements at this point-->
               <!--You may enter ANY elements at this point-->
            <add:ServiceName PortName="?">?</add:ServiceName>
            <!--You may enter ANY elements at this point-->

Where the "taskID" and the "tokenID" values are gotten from the data display on the jbpm-console (I mean from a process that is already started).  I think that my fault comes from using values that are already used by the jbpm flow, but I can't figure it out from where should I got the "taskID" and "tokenID"  values.

I will really appreciatte your sugestions


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157543#4157543

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157543

More information about the jboss-user mailing list