Murali,
You can do this by creating a java service. In the “shared” tab of the java service create a static String variable with the statement
public static String myXML = “”;
In the java service read your XML from its source (file system or wherever) convert it to a string and store it in the static myXML variable.
Make this a startup service. You should now be able to add a java service in the same folder that references the myXML variable to do something useful.
If this XML document might be changed at runtime, you could add extra services to reload it from the file system and refresh the cached variable.
Hope this helps,
Mark
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods