Thanks for your help. Turned out that the problem was in vqserver (now fixed) and apparently also in WebSphere. Ralph, if you hadn't told me that it works in JServ, I'd have kept on wondering what the matter was with my code. Regards Milind