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>