How to assign an invoke response value to an output variable of a bpel process in wso2?

Up vote 0 down vote favorite share g+ share fb share tw.

Sorry for the trouble but I have another small query. I am trying to push a bpel variable LVSProxyPLResponse to the output variable of the bpel process by using the assign action as shown in code The REST proxy web service on ESB is being invoked through the invoke action in my bpel process and I can verify that when I read the output variable LVSProxyPLResponse on the BPS. The output variable has a complex type element as shown in code below For some reason I cannot get to push the value to the output variable as I get the following error.

2012-03-29 20:27:39,380 INFO - AxisService - The system is attempting to engage a module that is already engaged: ServerAdminModule 2012-03-29 20:27:39,511 ERROR - BpelEngineImpl - Scheduled job failed; jobDetail=JobDetails( instanceId: null mexId: hqejbhcnphr75sbpnvnci6 processId: {http://lvmathproxy.bpel. Bps}LVMathProxy-58 type: INVOKE_INTERNAL channel: null correlatorId: null correlationKeySet: null retryCount: null inMem: false detailsExt: {enqueue=false}) java.lang. IllegalArgumentException: null parent at org.apache.ode.utils.DOMUtils.

FindChildByName(DOMUtils. Java:776) at org.apache.ode.utils.DOMUtils. FindChildByName(DOMUtils.

Java:771) at org.apache.ode.bpel.runtime.ASSIGN. EvalQuery(ASSIGN. Java:658) at org.apache.ode.bpel.runtime.ASSIGN.

EvalRValue(ASSIGN. Java:207) at org.apache.ode.bpel.runtime.ASSIGN. Copy(ASSIGN.

Java:386) at org.apache.ode.bpel.runtime.ASSIGN. Run(ASSIGN. Java:89) at sun.reflect.

GeneratedMethodAccessor86. Invoke(Unknown Source) at sun.reflect. DelegatingMethodAccessorImpl.

Invoke(DelegatingMethodAccessorImpl. Java:25) at java.lang.reflect.Method. Invoke(Method.

Java:597) at org.apache.ode.jacob.vpu. JacobVPU$JacobThreadImpl. Run(JacobVPU.

Java:451) at org.apache.ode.jacob.vpu.JacobVPU. Execute(JacobVPU. Java:139) at org.apache.ode.bpel.engine.

BpelRuntimeContextImpl. Execute(BpelRuntimeContextImpl. Java:879) at org.apache.ode.bpel.engine.

PartnerLinkMyRoleImpl. InvokeNewInstance(PartnerLinkMyRoleImpl. Java:205) at org.apache.ode.bpel.engine.

BpelProcess$1. Invoke(BpelProcess. Java:309) at org.apache.ode.bpel.engine.BpelProcess.

InvokeProcess(BpelProcess. Java:250) at org.apache.ode.bpel.engine.BpelProcess. InvokeProcess(BpelProcess.

Java:305) at org.apache.ode.bpel.engine.BpelProcess. HandleJobDetails(BpelProcess. Java:458) at org.apache.ode.bpel.engine.BpelEngineImpl.

OnScheduledJob(BpelEngineImpl. Java:553) at org.apache.ode.bpel.engine.BpelServerImpl. OnScheduledJob(BpelServerImpl.

Java:445) at org.apache.ode.scheduler.simple. SimpleScheduler$RunJob$1. Call(SimpleScheduler.

Java:537) at org.apache.ode.scheduler.simple. SimpleScheduler$RunJob$1. Call(SimpleScheduler.

Java:531) at org.apache.ode.scheduler.simple.SimpleScheduler. ExecTransaction(SimpleScheduler. Java:284) at org.apache.ode.scheduler.simple.SimpleScheduler.

ExecTransaction(SimpleScheduler. Java:239) at org.apache.ode.scheduler.simple. SimpleScheduler$RunJob.

Call(SimpleScheduler. Java:531) at org.apache.ode.scheduler.simple. SimpleScheduler$RunJob.

Call(SimpleScheduler. Java:515) at java.util.concurrent. FutureTask$Sync.

InnerRun(FutureTask. Java:303) at java.util.concurrent.FutureTask. Run(FutureTask.

Java:138) at java.util.concurrent. ThreadPoolExecutor$Worker. RunTask(ThreadPoolExecutor.

Java:886) at java.util.concurrent. ThreadPoolExecutor$Worker. Run(ThreadPoolExecutor.

Java:908) at java.lang.Thread. Run(Thread. Java:662) What am I missing or doing wrong?

I also am getting the following error 2012-03-30 20:21:09,062 ERROR - BPELProcessProxy - Timeout or execution error when waiting for response to MEX {MyRoleMex#hqejbhcnphr75w46k8n8wm Client hqejbhcnphr75w46k8n8wl calling {http://lvmathprocess.bpel. Bps}LVMService. Process(...)} java.util.concurrent.

TimeoutException: Message exchange org.apache.ode.bpel.engine. MyRoleMessageExchangeImpl$ResponseFuture@1d1339b timed out(120000 ms) when waiting for a response! Java.util.concurrent.

TimeoutException: Message exchange org.apache.ode.bpel.engine. MyRoleMessageExchangeImpl$ResponseFuture@1d1339b timed out(120000 ms) when waiting for a response! At org.apache.ode.bpel.engine.

MyRoleMessageExchangeImpl$ResponseFuture. Get(MyRoleMessageExchangeImpl. Java:250) I cannot see any instance of the process when I run on BPS version 2.1.0.

But I can see the instance on version 2.1.2 and can view relevant variables, but still get the above errors when using trythis service. Bpel wso2 link|improve this question edited Mar 30 at 19:46 asked Mar 30 at 11:21U Raza12.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions