Need A JavaService To Generate CLOB Object as a output and input is XMLData string

Hi All!

Can One help me to write a Java Service to convert XML Data String to the CLOB Object as a output

Java Service input is XML Data String and oput should be Clob Object

and also need the jave serviec it will take the Clob Object as input and outpot is XMLData String as follows