Hi Preeti,
All you need for TIBCO EMS is generin JMS jar and Tibco JMS jar that you can get from your development team.
You can use webService and have the XML save in a character type pointer.
Or you can use Java Vuser Protocol.
I use Java Vuser Protocol. Please shoot me an email at pathak_vikas_2003@hotmail.com if you like more details.
I dont come to this site often, so if you email I can reply here.
Good Luck.