Thanks for replying,
there is no MyTypes::mail class generated , infact there was a function get_xmlns in MyElements/login.pm .
i changed the subroutine sub get_xmlns { 'urn:core_2008_2.platform.webservices.netsuite.com'} to sub get_xmlns { 'urn:messages_2008_2.platform.webservices.netsuite.com' }
and the code worked.
So the code was confusing on the namespace.
I would like to know how can i get to know of the other such confusing points.
Pl. let me know if you are getting an idea on this,
Thanks,
abhi