$i<=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))
here instead of countNodes, using count works.Thanks.
Frage
Here is the logic I used in the while loop, the value of i is 1 $i<=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))
.
Here is the xsd I created for reference
<xsd:element name="Add" type="xsd:int" maxOccurs="unbounded"/>
When I used countNodes it's throwing an error. Can anyone please explain me where am I going wrong and what function should I use to find total number of elements in the array.Thanks in advance.
Lösung 2
$i<=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))
here instead of countNodes, using count works.Thanks.
Andere Tipps
If you are doing it in the BPEL process. Please do it step by step as follow:
Let me know if you need any thing else..