Hi, Nico.
I have new exception:
OMUnmarshaller.getTaskList()
10:55:38 ERROR: Error reading task: <tms:task xmlns:tms="http://
www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/"><tms:taskId>notify-IW9V-0O3A-YQ4K-3ZXK</tms:taskId><tms:taskState>READY</tms:taskState><tms:taskType>NOTIFICATION</tms:taskType><tms:description
/><tms:processId /><tms:instanceId>163842</
tms:instanceId><tms:creationDate>2009-11-04T10:41:31.150+02:00</
tms:creationDate><tms:roleOwner>examples\manager</
tms:roleOwner><tms:formUrl>oxf://Oder/forms/oderForm.xform</
tms:formUrl></tms:task>
org.intalio.tempo.workflow.util.xml.InvalidInputFormatException: A
forbidden parameter was specified: processID
at
org.intalio.tempo.workflow.util.xml.XmlBeanUnmarshaller.forbidParameter
(XmlBeanUnmarshaller.java:112)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:161)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:83)
at org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getTaskList
(RemoteTMSClient.java:125)
at main.Test.main(Test.java:70)
Test.runOderRequest()
10:55:39 INFO: Instanciate token service client
Test.runOderRequest()
10:55:39 INFO: We are trying to authenticate as user:examples
\ewilliams with password:password
Test.runOderRequest()
10:55:39 INFO: We have gained a token from the token service. We can
use it to call authenticated tempo services
Test.runOderRequest()
10:55:39 INFO: Decrypting the token properties. We have successfully
logged in as:examples\ewilliams
Test.runOderRequest()
10:55:39 INFO: Instanciate tms service client
Test.runOderRequest()
10:55:39 INFO: get the pipa corresponding to the Oder request, by
making a query on our available tasks
Test.runOderRequest()
10:55:39 INFO: We have found the task to instanciate the process. This
task has the following ID:f68e3844-1f8b-4be4-8825-8146f6092437
taskID=f68e3844-1f8b-4be4-8825-8146f6092437
input=[#document: null]
Test.runOderRequest()
10:55:40 INFO: wait for the task to be initiated. Hopefully 2s is
enough
Test.runOderRequest()
10:55:41 INFO: get our full activity task list
Test.runOderRequest()
10:55:41 INFO: get the id of the activity task
Test.runOderRequest()
10:55:41 INFO: We're about to start using PATask with id:
82363b17b7f742ad:9c2bd62:124be5869ef:-7ff0192.168.10.65163849
Test.runOderRequest()
10:55:41 INFO: We cannot get input and output of a task on a get task
list call (see WSDL)
Test.runOderRequest()
10:55:41 INFO: Let's call TMS again to get the full input and output
data of this PATask
Test.runOderRequest()
10:55:41 INFO:
Checking the task metadata...
The task has been created on:Wed Nov 04 10:47:04 EET 2009
It has the following description:
It is attached to the process with id:
It is attached to the following form:oxf://Oder/forms/
continueForm.xform
It is in the following state:READY
It has the following input:
<input xmlns="
http://example.com/forms/continueForm/xform"
xmlns:continueForm1="
http://example.com/forms/continueForm/xform"
xmlns:tns="
http://www.intalio.com/BPMS/Workflow/
TaskManagementServices-20051109/">
<continue/>
<Product_is_missing_Will_you_waite/>
</input>
It can be assigned to the following roles:[examples\employee]
It can be assigned to the following users:[]
Test.runOderRequest()
10:55:41 INFO: Let's claim the task: no one else can access this task
apart from user:examples\ewilliams
Test.sendSoapTo()
10:55:43 INFO: Answer from endpoint
http://localhost:8080/ode/processes/completeTask:
<claimTaskResponse xmlns="
http://www.intalio.com/bpms/workflow/
ib4p_20051115">
<b4p:status xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115" />
</claimTaskResponse>
Test.runOderRequest()
10:55:43 INFO: Let's revoke the task:every one can access this task
again
Test.sendSoapTo()
10:55:45 INFO: Answer from endpoint
http://localhost:8080/ode/processes/completeTask:
<revokeTaskResponse xmlns="
http://www.intalio.com/bpms/workflow/
ib4p_20051115">
<b4p:status xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115" />
</revokeTaskResponse>
Test.runOderRequest()
10:55:45 INFO: Call setoutput from TMS Client
Test.runOderRequest()
10:55:45 INFO: Check the output we've just set
Test.runOderRequest()
10:55:45 INFO: <output>
<continue>true</continue>
</output>
Test.runOderRequest()
10:55:45 INFO: complete the PA task with some output
Test.sendSoapTo()
10:55:49 INFO: Answer from endpoint
http://localhost:8080/ode/processes/completeTask:
<response xmlns="
http://www.intalio.com/bpms/workflow/ib4p_20051115">
<b4p:taskMetaData xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115">
<b4p:nextTaskId />
<b4p:nextTaskURL />
</b4p:taskMetaData>
<b4p:status xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115">OK</b4p:status>
<b4p:errorCode xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115" />
<b4p:errorReason xmlns:b4p="
http://www.intalio.com/bpms/workflow/
ib4p_20051115" />
<b4p:isChainedAfter xmlns:b4p="
http://www.intalio.com/bpms/
workflow/ib4p_20051115" />
</response>
Test.runOderRequest()
10:55:49 INFO: sleep again to wait for the notification
OMUnmarshaller.getAvailableTasks()
10:55:49 ERROR: Error reading task: <tms:task xmlns:tms="http://
www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/"><tms:taskId>notify-H099-1WME-KKMY-QK9U</tms:taskId><tms:taskState>READY</tms:taskState><tms:taskType>NOTIFICATION</tms:taskType><tms:description
/><tms:processId /><tms:instanceId>163848</
tms:instanceId><tms:creationDate>2009-11-04T10:55:49.072+02:00</
tms:creationDate><tms:roleOwner>examples\manager</
tms:roleOwner><tms:formUrl>oxf://Oder/forms/oderForm.xform</
tms:formUrl></tms:task>
org.intalio.tempo.workflow.util.xml.InvalidInputFormatException: A
forbidden parameter was specified: processID
at
org.intalio.tempo.workflow.util.xml.XmlBeanUnmarshaller.forbidParameter
(XmlBeanUnmarshaller.java:112)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:161)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:83)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:555)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:516)
at main.Test.runOderRequest(Test.java:211)
at main.Test.main(Test.java:120)
OMUnmarshaller.getAvailableTasks()
10:55:49 ERROR: Error reading task: <tms:task xmlns:tms="http://
www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/"><tms:taskId>notify-IW9V-0O3A-YQ4K-3ZXK</tms:taskId><tms:taskState>READY</tms:taskState><tms:taskType>NOTIFICATION</tms:taskType><tms:description
/><tms:processId /><tms:instanceId>163842</
tms:instanceId><tms:creationDate>2009-11-04T10:41:31.150+02:00</
tms:creationDate><tms:roleOwner>examples\manager</
tms:roleOwner><tms:formUrl>oxf://Oder/forms/oderForm.xform</
tms:formUrl></tms:task>
org.intalio.tempo.workflow.util.xml.InvalidInputFormatException: A
forbidden parameter was specified: processID
at
org.intalio.tempo.workflow.util.xml.XmlBeanUnmarshaller.forbidParameter
(XmlBeanUnmarshaller.java:112)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:161)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:83)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:555)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:516)
at main.Test.runOderRequest(Test.java:211)
at main.Test.main(Test.java:120)
Test.runOderRequest()
10:55:49 INFO: We want to retrieve some more data on the notification
with id:notify-P1TX-VWY5-38X2-FMWS
Test.runOderRequest()
10:55:49 INFO: The notification has the following:
Input:<?xml version="1.0" encoding="UTF-8"?><fe:input xmlns:fe="http://
www.intalio.com/workflow/forms/AbsenceRequest/Notification">
<fe:details>
<request xmlns="
http://www.intalio.com/workflow/forms/
AbsenceRequest/AbsenceRequest">
<from>2008-12-04</from>
<to>2008-12-28</to>
<type>holidays</type>
<hours>200</hours>
</request>
<request xmlns="
http://www.intalio.com/workflow/forms/
AbsenceRequest/AbsenceRequest">
<from>2008-12-04</from>
<to>2008-12-28</to>
<type>holidays</type>
<hours>200</hours>
</request>
<request xmlns="
http://www.intalio.com/workflow/forms/
AbsenceRequest/AbsenceRequest">
<from>2008-12-04</from>
<to>2008-12-28</to>
<type>holidays</type>
<hours>200</hours>
</request>
</fe:details>
<fe:decision>rejected</
fe:decision>
<fe:notes>It is a great day for
some comments</fe:notes>
</fe:input>
Creation Date:Wed Nov 04 10:39:13 EET 2009
Attached Form:oxf://AbsenceRequest/Notification.xform
Description:Absence Request - Decision
Test.runOderRequest()
10:55:49 INFO: Dismiss this notification
I can't understand why notification all time about AbsenceRequest all
time. And why:
10:55:49 ERROR: Error reading task: <tms:task xmlns:tms="http://
www.intalio.com/BPMS/Workflow/TaskManagementServices-20051109/"><tms:taskId>notify-IW9V-0O3A-YQ4K-3ZXK</tms:taskId><tms:taskState>READY</tms:taskState><tms:taskType>NOTIFICATION</tms:taskType><tms:description
/><tms:processId /><tms:instanceId>163842</
tms:instanceId><tms:creationDate>2009-11-04T10:41:31.150+02:00</
tms:creationDate><tms:roleOwner>examples\manager</
tms:roleOwner><tms:formUrl>oxf://Oder/forms/oderForm.xform</
tms:formUrl></tms:task>
org.intalio.tempo.workflow.util.xml.InvalidInputFormatException: A
forbidden parameter was specified: processID
at
org.intalio.tempo.workflow.util.xml.XmlBeanUnmarshaller.forbidParameter
(XmlBeanUnmarshaller.java:112)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:161)
at
org.intalio.tempo.workflow.task.xml.TaskUnmarshaller.unmarshalTaskFromMetadata
(TaskUnmarshaller.java:83)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:555)
at
org.intalio.tempo.workflow.tms.client.RemoteTMSClient.getAvailableTasks
(RemoteTMSClient.java:516)
at main.Test.runOderRequest(Test.java:211)
at main.Test.main(Test.java:120)
On 30 Жов, 17:13, noname <
balckstone...@gmail.com> wrote:
> Hi, Nico.
> Thanks for answer. I realy not sending the proper message (Tag
> <request>).
>
> <output>
> <request>
> <Product_count>333</Product_count>
> <Product_id>4</Product_id>
> <Customer_id>2</Customer_id>
> </request>
> </output>
>
> Now I sent:
>
> <output xmlns="
http://example.com/forms/initForm/xform"
> xmlns:xxforms="
http://orbeon.org/oxf/xml/xforms" xmlns:xs="
http://www.w3.org/2001/XMLSchema" xmlns:f="
http://orbeon.org/oxf/xml/