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">
<soapenv:Header/>
<soapenv:Body>
<task:createTask>
<!--You may enter ANY elements at this point-->
<add:Address>?</add:Address>
<!--Optional:-->
<add:ReferenceProperties>
<!--You may enter ANY elements at this point-->
</add:ReferenceProperties>
<!--Optional:-->
<add:ReferenceParameters>
<!--You may enter ANY elements at this point-->
</add:ReferenceParameters>
<!--Optional:-->
<add:PortType>?</add:PortType>
<!--Optional:-->
<add:ServiceName PortName="?">?</add:ServiceName>
<!--You may enter ANY elements at this point-->
</task:createTask>
</soapenv:Body>
</soapenv:Envelope>
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
Christian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157543#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...