This post has NOT been accepted by the mailing list yet.
Hi,
I have used Java to create XML node and assigned it to BPEL variable.
BPEL variable's XML node count shows 0 value, But I am getting that XML response.
Re: Java Node BPEL variable shows no data to iterate
This post has NOT been accepted by the mailing list yet.
Hello Siri,
This is happening because from your Java method, you are getting XML without any namespace, and then you are using this output to some variable in your BPEL to retrieve node count using seeded BPEL function, but this will not work because ESB will not able to understand nodes with empty namespaces, it will always give you zero.
I would suggest, you can write a simple XSL which will take your java method output and transform into correct XML structure with required namespace and then I am sure you get the node count.
Let me know in case you need any help.
You can share your BPEL project, I will correct it if you need to understand how to achieve this.