This content has been marked as final. Show 6 replies
How are you loging the values ? Did you check in the log ?
Java embedded activity will now show up its value in audit trial. Use addAuditTrailEntry() to print your values just like sop and then try to check the values.
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.
I'm working on SOA 220.127.116.11 version.I have one temporary variable $gRXML which is created from the schema element.How can i get the variable data of $gRXML/Payloads/PDF/BASE64
in the java embedding activity.Please give me the suggestions.
Thanks in advance!
I did the same thing and it is working i my local server but did the same thing in dev it shows NullPointer exception event though there is data.Any Suggestions please.?
I think you are trying get the value directly from payload, can you try to assign the particular value into a variable and then try to get that variable data in java embedded like the example i have provided you.