Hi Werner, Thanks for reply. Please find minimal files which do not have any dependencies. Still I'm getting the same errors. This example is similar to Castor example provided in XML mapping section. Please check the mapping xml first and let me know if I did any errors in mapping.
Thanks again for your help. Thanks & Regards, Sridhar Tida -----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 5:17 PM To: [email protected] Subject: Re: [castor-user] exceptions in castor mapping Hi, if you *really* want me to help you in any way, please do not send any Java classes that do not compile, where there's plenty of classes missing, etc. Rather I'd ask you to send me a *minimal* junit test case that helps me to replay your problem by executing that test case. Then, and only then, I will be able to assist you in a meaningful way. If that's not an option to you (for whatever reason), please do consider to take up professional services as documented on the web page, and we'll be able to assist you in whatever way you wanted (as you'll be paying for that service). There's plenty of folks who have supplied us with *minimal* test cases in the last 4 to 6 weeks or so, so please try to deliver the same, as we are dedicating our (private) spare time for Castor. Regards Werner Tida, Sridhar wrote: > Hi, > > > > Please find attached source files for my castor test. I have created a > request xml, request mapping and their supported java objects with JUnit > file. I'm getting null objects for header & service but Envelope object > is creating: > > Envelope: [EMAIL PROTECTED] header: null > service: null > > java.lang.NullPointerException > > > > What is wrong here? I tried to add new element to Envelope envStr and > executed, got following error: > > > > org.exolab.castor.mapping.MappingException: The method getEnvStr in > class com.citi.ecm.samples.ECMEnvelope accepting/returning object of > type class java.lang.String was not found > > > > Please correct me where I'm doing wrong. > > > > > > Thanks & Regards, > > Sridhar Tida > > > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

