This discussion is archived
6 Replies Latest reply: May 3, 2012 1:30 AM by veejai24 RSS

Getting xsd:base64Binary data in the JavaEmbedding activity

866600 Newbie
Currently Being Moderated
Hi ,

Can any one suggest me how to get xsd:base64Binary data in the JavaEmbedding activity.I can do normal Java Embedding activity.But coming to my requirement
i have an element in xsd of type base64Binary and get it in java embedding activity as string or byte[] .I did as given below and by changing it values

Element input= (Element)getVariableData("inputVariable","payload","/ns1:PdfData/ns1:PdfContent");

//String inputVal = input.getTextContent();
//String inputVal =new String(input.getNodeValue());
byte[] data=input.getTextContent();

if i test it the process is executed only upto receive activity and java embedding activity is not executed which is after receive.

Thanks,
Srinivas.

Edited by: 863597 on May 1, 2012 12:25 AM

Edited by: 863597 on May 1, 2012 12:26 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points