java - How to use Array in Oracle's bpelx:exec BPEL extension -
i have created bpel process in there 2 java embed activity.and have on varibale(array type) @ bpel process level.
following array variable xsd.
<?xml version="1.0" encoding="utf-8"?> <schema attributeformdefault="unqualified" elementformdefault="qualified" targetnamespace="http://xmlns.oracle.com/registrationupload_jws/registrationupload" xmlns="http://www.w3.org/2001/xmlschema"> <element name="groupidarray"> <complextype> <sequence> <element name="groupid" type="string" maxoccurs="unbounded"/> </sequence> </complextype> </element> </schema>
my requirement want add variables in array on java embed activity , use same filled array in next java embed activity.
please suggest me points. sample code if possible please refer link. thanks
what's problem, exactly?
- before calling java embedded, call getvariable(), give variable (array) dom element.
- pass down java code.
- parse there data structure (jaxb best it).
- add/remove/update elements wish.
- serialize data structure dom.
- return java.
- call setvariable() store dom original variable.
you're done, variable updated.
Comments
Post a Comment