This content has been marked as final. Show 6 replies
I am getting NullPointerException .Here is snippet of code which gets the Exception even though i pass the data to process.
Always I am getting exception i think the problem is reading the data from xml element.Any suggestions please ?
I think try with simple bpel and it should work. There is no need of having element objects involvement here.
Create a bpel variable as BPELName = "Some value..", and another variable as BPELName1 , dont initialize the BPELName1 variable.
Then have a java embedded inside the bpel and try to access that variable.
<bpelx:exec name="Java_Embedding_1" version="1.5" language="java">
<![CDATA[/*Write your java code below . */
String JavaName= "" ;
Keep one more assign to see whether the BPELName that you set in BPEL is being passed on to BPELName1 variable.