This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have debugged this code and found that attachment is not getting attached because during handling the response it is not entering into the while loop,which means no attachments were there. Kindly let me know how can i get this problem solved.