Dear Sushmita, Why don't you try writing your own Codec or you can do without a codec and get the low level bytes to form a XML request? You can checkout the examples providing in the Examples section on how to implement your own Codec (Checkout ImageCodecFactory in http://mina.apache.org/report/trunk/xref/org/apache/mina/example/imagine/ ).
Thanks & Regards Abhishek Chavan Member Architecture Group Nagarro Software Pvt. Ltd. PH: +919953541323 DISCLAIMER: This communication, along with any documents, files or attachments, is intended only for the use of the addressee and may contain legally privileged and confidential information. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of any information contained in or attached to this communication is strictly prohibited. This communication does not form any contractual obligation on behalf of the sender or, the sender's employer, or the employer's parent company, affiliates or subsidiaries. -----Original Message----- From: sushmita chandra [mailto:flightsoffantasy...@gmail.com] Sent: Monday, July 11, 2011 11:42 AM To: users@mina.apache.org Subject: Fwd: What codec should we use for reading a incoming XML Hi, I am using Mina Endpoint to receive a XML File. I am not able to receive it on the mina end point that i have opened.When i specify the codec as textline, i could read only one line. Can some one help me to read the complete file and specify what codec that i have to use? -- Thanks and Regards, Sushmita Chandra -- Thanks and Regards, Sushmita Chandra