AnsweredAssumed Answered

BPMN2-Spec-compliant Webservice-Call - Property not found

Question asked by ronnie_and_sandy on Oct 27, 2011
Latest reply on Oct 28, 2011 by trademak
First, apologies for the pasted text. I tried posting files, but the extensions were not allowed.

We'd like to make web service calls with parameters in the standard bpmn way.

To get to this point, I've cheated 2 ways: I've put the WS client classes in the activiti-explorer classpath and I've created the "add" request instance (WS is a simple WS that adds 2 #s) in the spring application context.

I believe the problem below has less to do w/ WSs than how the dataInputOfServiceTask variable is constructed. As the stack trace shows, it's constructed as a class org.activiti.engine.impl.bpmn.data.ItemInstance. I'd like it to be an com.solers.mavenprojectwebtest.Add, or find a way to write the "to" assignment expression so the argInt1 value gets to the org.activiti.engine.impl.bpmn.data.ItemInstance properly. I've done some remote debugging and argInt1's value of "1" is properly getting into the activiti engine.

For anyone who can point me to a simple working example of something that accomplishes what I'm trying to do here, or can provide help, I Thank You.

God Bless!

————-

Exception:

Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource WebServiceTaskTest.testWebServiceInvocation.bpmn20.xml
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XMLSchema currently not supported as typeLanguage
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XPath currently not supported as expressionLanguage
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource MyProcess.bpmn20.xml
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XMLSchema currently not supported as typeLanguage
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XPath currently not supported as expressionLanguage
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource WebServiceTaskTest.testWebServiceInvocation.png
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource Mail.png
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource MyProcess.png
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource Mail.bpmn20.xml
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XMLSchema currently not supported as typeLanguage
Oct 27, 2011 6:24:28 PM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XPath currently not supported as expressionLanguage
Oct 27, 2011 6:24:44 PM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
org.activiti.engine.ActivitiException: Error while evalutaing expression
        at org.activiti.engine.impl.el.JuelExpression.setValue(JuelExpression.java:73)
        at org.activiti.engine.impl.bpmn.data.Assignment.evaluate(Assignment.java:38)
        at org.activiti.engine.impl.bpmn.data.SimpleDataInputAssociation.evaluate(SimpleDataInputAssociation.java:44)
        at org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior.fillMessage(WebServiceActivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior.execute(WebServiceActivityBehavior.java:74)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:65)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:115)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:332)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:51)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:286)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:72)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:57)
        at org.activiti.explorer.ui.process.listener.StartProcessInstanceClickListener.buttonClick(StartProcessInstanceClickListener.java:71)
        at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
        at com.vaadin.ui.Button.fireClick(Button.java:539)
        at com.vaadin.ui.Button.changeVariables(Button.java:206)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1299)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1219)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:735)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:722)
Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Could not find property argInt1 in class org.activiti.engine.impl.bpmn.data.ItemInstance
        at org.activiti.engine.impl.javax.el.BeanELResolver.toBeanProperty(BeanELResolver.java:621)
        at org.activiti.engine.impl.javax.el.BeanELResolver.setValue(BeanELResolver.java:392)
        at org.activiti.engine.impl.javax.el.CompositeELResolver.setValue(CompositeELResolver.java:329)
        at org.activiti.engine.impl.juel.AstProperty.setValue(AstProperty.java:133)
        at org.activiti.engine.impl.juel.AstEval.setValue(AstEval.java:86)
        at org.activiti.engine.impl.juel.TreeValueExpression.setValue(TreeValueExpression.java:138)
        at org.activiti.engine.impl.delegate.ExpressionSetInvocation.invoke(ExpressionSetInvocation.java:37)
        at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
        at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
        at org.activiti.engine.impl.el.JuelExpression.setValue(JuelExpression.java:69)
        … 90 more

Oct 27, 2011 6:24:45 PM com.vaadin.Application terminalError
SEVERE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException
Cause: org.activiti.engine.ActivitiException: Error while evalutaing expression
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
        at com.vaadin.ui.Button.fireClick(Button.java:539)
        at com.vaadin.ui.Button.changeVariables(Button.java:206)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1299)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1219)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:735)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:722)
Caused by: org.activiti.engine.ActivitiException: Error while evalutaing expression
        at org.activiti.engine.impl.el.JuelExpression.setValue(JuelExpression.java:73)
        at org.activiti.engine.impl.bpmn.data.Assignment.evaluate(Assignment.java:38)
        at org.activiti.engine.impl.bpmn.data.SimpleDataInputAssociation.evaluate(SimpleDataInputAssociation.java:44)
        at org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior.fillMessage(WebServiceActivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior.execute(WebServiceActivityBehavior.java:74)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:65)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:115)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:332)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:51)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:286)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:72)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:57)
        at org.activiti.explorer.ui.process.listener.StartProcessInstanceClickListener.buttonClick(StartProcessInstanceClickListener.java:71)
        at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
        … 22 more
Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Could not find property argInt1 in class org.activiti.engine.impl.bpmn.data.ItemInstance
        at org.activiti.engine.impl.javax.el.BeanELResolver.toBeanProperty(BeanELResolver.java:621)
        at org.activiti.engine.impl.javax.el.BeanELResolver.setValue(BeanELResolver.java:392)
        at org.activiti.engine.impl.javax.el.CompositeELResolver.setValue(CompositeELResolver.java:329)
        at org.activiti.engine.impl.juel.AstProperty.setValue(AstProperty.java:133)
        at org.activiti.engine.impl.juel.AstEval.setValue(AstEval.java:86)
        at org.activiti.engine.impl.juel.TreeValueExpression.setValue(TreeValueExpression.java:138)
        at org.activiti.engine.impl.delegate.ExpressionSetInvocation.invoke(ExpressionSetInvocation.java:37)
        at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
        at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
        at org.activiti.engine.impl.el.JuelExpression.setValue(JuelExpression.java:69)
        … 90 more

——

BPMN file:

<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
   xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" targetNamespace="http://activiti.mavenprojectwebtest.solers.com/"
   xmlns:tns="http://activiti.mavenprojectwebtest.solers.com/"
   xmlns:webtestsolers="http://mavenprojectwebtest.solers.com/">
   <import importType="http://schemas.xmlsoap.org/wsdl/"
      location="http://ronnied:9090/com.solers_mavenprojectWebTest_war_1.0-SNAPSHOT/CalculatorWS?wsdl"
      namespace="http://mavenprojectwebtest.solers.com/" />
   <process id="webServiceInvocation">
      <startEvent id="theStart" />
      <sequenceFlow id="flow1" sourceRef="theStart" targetRef="webService" />
      <serviceTask id="webService" name="Web service invocation"
         implementation="##WebService" operationRef="tns:randomOperation" />
      <sequenceFlow id="flow2" sourceRef="webService"
         targetRef="theEnd" />
      <endEvent id="theEnd" />
   </process>
   <itemDefinition id="randomRequestItem" structureRef="webtestsolers:random" /><!–
      QName of input element –> <!– NEEDED FOR THE ARGUMENTS –>
   <itemDefinition id="randomResponseItem" structureRef="webtestsolers:randomResponse" /> <!– QName of output element –>
   <message id="randomRequestMessage" itemRef="tns:randomRequestItem" />
   <message id="randomResponseMessage" itemRef="tns:randomResponseItem" />
   <!– Interface: implementationRef = QName of WSDL Port Type –>
   <interface name="Web Test Interface">  <!– NEEDED FOR THE PORT –>
      <!– Operation: implementationRef = QName of WSDL Operation –>
      <operation id="randomOperation" name="Random Operation"
         implementationRef="webtestsolers:random">  <!– NEEDED FOR THE OPERATION NAME –>
         <inMessageRef>tns:randomRequestMessage</inMessageRef>
         <outMessageRef>tns:randomResponseMessage</outMessageRef>
      </operation>
   </interface>

   <process id="addWebServiceInvocation">
      <ioSpecification>
         <dataInput id="dataInputOfProcess" itemSubjectRef="tns:addRequestItem" />
         <dataOutput id="dataOutputOfProcess" itemSubjectRef="tns:addResponseItem" />
         <inputSet>
            <dataInputRefs>dataInputOfProcess</dataInputRefs>
         </inputSet>
         <outputSet>
            <dataOutputRefs>dataOutputOfProcess</dataOutputRefs>
         </outputSet>
      </ioSpecification>
      <!– <dataInputAssociation> <targetRef>dataInputOfProcess</targetRef> <assignment>
         <from xs:type="tFormalExpression">1</from> <to xs:type="tFormalExpression">dataInputOfProcess</to>
         </assignment> </dataInputAssociation> –>
      <startEvent id="addStart" />
      <sequenceFlow id="addFlow1" sourceRef="addStart"
         targetRef="addWebService" />
      <!– <serviceTask id="addWebService" name="Add Web service" implementation="##WebService"
         operationRef="tns:addOperation" /> –>
      <dataObject></dataObject>
      <serviceTask id="addWebService" name="Add Web service"
         implementation="##WebService" operationRef="tns:addOperation">
         <ioSpecification>
            <dataInput itemSubjectRef="tns:addRequestItem" id="dataInputOfServiceTask" />
            <!– <dataInput itemSubjectRef="webtestsolers:add" id="dataInputOfServiceTask" /> –>
            <dataOutput itemSubjectRef="tns:addResponseItem" id="dataOutputOfServiceTask" />
            <inputSet>
               <dataInputRefs>dataInputOfServiceTask</dataInputRefs>
            </inputSet>
            <outputSet>
               <dataOutputRefs>dataOutputOfServiceTask</dataOutputRefs>
            </outputSet>
         </ioSpecification>
         <dataInputAssociation>
            <!– <sourceRef>1</sourceRef> –>
            <sourceRef>dataInputOfProcess</sourceRef>
            <targetRef>dataInputOfServiceTask</targetRef>
            <assignment>
                  <!–
                  <from>bpmn:getDataObject("dataInputOfProcess")/argInt1</from>
                  <to>bpmn:getDataInput("dataInputOfServiceTask")/webtestsolers:argInt1</to>
                –>
               <from>${dataInputOfProcess.argInt1}</from>
               <to>${dataInputOfServiceTask.argInt1}</to>
            </assignment>
            <assignment>
               <from>${dataInputOfProcess.argInt2}</from>
               <!– <from>2</from> –>
               <to>${dataInputOfServiceTask.argInt2}</to>
            </assignment>
         </dataInputAssociation>
         <dataOutputAssociation>
            <targetRef>dataOutputOfProcess</targetRef>
            <transformation>${dataOutputOfServiceTask}</transformation>
            <!– <transformation>${dataOutputOfServiceTask.prettyPrint}</transformation> –>
            <!– <sourceRef>dataOutputOfProcess</sourceRef> <targetRef>dataOutputOfServiceTask</targetRef>
               <assignment> <from>${dataOutputOfProcess.prefix}</from> <to>${dataOutputOfServiceTask.prefix}</to>
               </assignment> <assignment> <from>${dataOutputOfProcess.suffix}</from> <to>${dataOutputOfServiceTask.suffix}</to>
               </assignment> –>
         </dataOutputAssociation>
      </serviceTask>
      <sequenceFlow id="addFlow2" sourceRef="addWebService"
         targetRef="addEnd" />
      <endEvent id="addEnd" />
   </process>
   <itemDefinition id="addRequestItem" structureRef="webtestsolers:add" /><!–
      QName of input element –> <!– NEEDED FOR THE ARGUMENTS –>
   <itemDefinition id="addResponseItem" structureRef="webtestsolers:addResponse" /><!–
      QName of output element –>
   <message id="addRequestMessage" itemRef="tns:addRequestItem" />
   <message id="addResponseMessage" itemRef="tns:addResponseItem" />
   <!– Interface: implementationRef = QName of WSDL Port Type –>
   <interface name="Add Web Test Interface"> <!– NEEDED FOR THE PORT –>
      <!– Operation: implementationRef = QName of WSDL Operation –>
      <operation id="addOperation" name="add Operation"
         implementationRef="webtestsolers:add"> <!– NEEDED FOR THE OPERATION NAME –>
         <inMessageRef>tns:addRequestMessage</inMessageRef>
         <outMessageRef>tns:addResponseMessage</outMessageRef>
      </operation>
   </interface>

</definitions>

——-

WSDL:

<?xml version='1.0' encoding='UTF-8'?><!– Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2. –><!– Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2. –><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://mavenprojectwebtest.solers.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://mavenprojectwebtest.solers.com/" name="CalculatorWS">
<types>
<xsd:schema>
<xsd:import namespace="http://mavenprojectwebtest.solers.com/" schemaLocation="http://localhost:9090/com.solers_mavenprojectWebTest_war_1.0-SNAPSHOT/CalculatorWS?xsd=1'/>
</xsd:schema>
</types>
<message name="add">
<part name="parameters" element="tns:add"/>
</message>
<message name="addResponse">
<part name="parameters" element="tns:addResponse"/>
</message>
<message name="random">
<part name="parameters" element="tns:random"/>
</message>
<message name="randomResponse">
<part name="parameters" element="tns:randomResponse"/>
</message>
<portType name="CalculatorWS">
<operation name="add">
<input wsam:Action="http://mavenprojectwebtest.solers.com/CalculatorWS/addRequest" message="tns:add"/>
<output wsam:Action="http://mavenprojectwebtest.solers.com/CalculatorWS/addResponse" message="tns:addResponse"/>
</operation>
<operation name="random">
<input wsam:Action="http://mavenprojectwebtest.solers.com/CalculatorWS/randomRequest" message="tns:random"/>
<output wsam:Action="http://mavenprojectwebtest.solers.com/CalculatorWS/randomResponse" message="tns:randomResponse"/>
</operation>
</portType>
<binding name="CalculatorWSPortBinding" type="tns:CalculatorWS">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="add">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="random">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="CalculatorWS">
<port name="CalculatorWSPort" binding="tns:CalculatorWSPortBinding">
<soap:address location="http://localhost:9090/com.solers_mavenprojectWebTest_war_1.0-SNAPSHOT/CalculatorWS'/>
</port>
</service>
</definitions>

——–

Schema:

<?xml version='1.0' encoding='UTF-8'?><!– Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2. –><xs:schema xmlns:tns="http://mavenprojectwebtest.solers.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://mavenprojectwebtest.solers.com/">

<xs:element name="add" type="tns:add"/>

<xs:element name="addResponse" type="tns:addResponse"/>

<xs:element name="random" type="tns:random"/>

<xs:element name="randomResponse" type="tns:randomResponse"/>

<xs:complexType name="add">
<xs:sequence>
<xs:element name="argInt1" type="xs:int"/>
<xs:element name="argInt2" type="xs:int"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="addResponse">
<xs:sequence>
<xs:element name="return" type="xs:int"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="random">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="randomResponse">
<xs:sequence>
<xs:element name="return" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

———

Spring Bean:

  <bean id="dataInputOfProcess" class="com.solers.mavenprojectwebtest.Add">
  <property name="argInt1" value="1"/>
  <property name="argInt2" value="2"/>
  </bean>

Outcomes