Convert XML to String in OSB : fn-bea:serialize
Sometime it is required to convert XML to string format. OSB allows us to convert XML to string using OSB inbuilt function.
You can use the fn-bea:serialize() function if you need to represent an XML document as a string instead of as an XML element.
For example, you may want to exchange an XML document through an EJB interface and the EJB method takes String as argument. The function has the following signature:
fn-bea:serialize($input as item())
Let’s see the example:
Suppose you have an variable called result in the OSB that contained XML, and you want to convert the same into string, then you can use the following expression in Assign activity:
Let’s run the example and see the output of Assign variable:
See the xmlstring variable value.
This comment has been removed by a blog administrator.
I really enjoyed this article. I need more information to learn so kindly update it.
Selenium Training in Chennai
Selenium Training
selenium testing course in chennai
Best selenium Training Institute in Chennai
Selenium training in vadapalani
Selenium training in porur
Python Training in Chennai
Hadoop Training in Chennai
Big data training in chennai
JAVA Training in Chennai
Good contentcustomized erp solutions in india