How to use Array in Oracle's bpelx:exec BPEL extension?

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

I have created a BPEL process in which there are two java Embed Activity. And we have on varibale(array type) at BPEL process level. Following is the array variable xsd.

My requirement is I want to add variables in this array on Java Embed activity and then I will use the same filled array in next Java Embed activity. Please suggest me some points. Any sample code if possible please refer the link.

Thanks java soa jdeveloper bpel link|improve this question edited Jul 2 '11 at 13:47vanto1,123313 asked Jul 1 '11 at 10:35Abhishek214114 42% accept rate.

Before calling Java Embedded, call getVariable(), which will give you the variable (array) as a DOM Element. Pass it down to Java code. Parse it there into a data structure (JAXB is best for it).

Add/remove/update elements as you wish. Serialize the data structure back to DOM. Return it from Java.

Call setVariable() to store the DOM back into the original variable. You're done, the variable is updated.

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