Cool! Richard Gundersen Java Developer Email: [EMAIL PROTECTED] Phone: 01618302398 Fax: 01618342536 London Scottish Bank plc 24 Mount Street Manchester M2 3LS
-----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 10:23 AM To: [email protected] Subject: RE: [castor-user] XSI attribute in generated XM As FYI, I'bb eworking with Hildo Biersma (project lead of spring-ws) over the next few weeks to 'improve' the current Castor-specific classes of the spring-ws project. Werner > -----Original Message----- > From: Gundersen, Richard > [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 27. Februar 2007 10:38 > To: [email protected] > Subject: RE: [castor-user] XSI attribute in generated XM > > Thanks again, I'll have another look at the docs. Like I > said, it doesn't cause me any problems, I just wanted to > understand it a bit more. > > Yep, the Spring-WS class. I checked in their CVS repository > and they've included my suggestion to allow multiple mapping > files which is nice of them :) > > Richard Gundersen > Java Developer > > Email: [EMAIL PROTECTED] > Phone: 01618302398 > Fax: 01618342536 > London Scottish Bank plc > 24 Mount Street > Manchester > M2 3LS > > -----Original Message----- > From: Werner Guttmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 27, 2007 9:34 AM > To: [email protected] > Subject: RE: [castor-user] XSI attribute in generated XM > > Just out of curiosity, when referring to Spring's > CastorMarshaller, you mean the one out of spring-ws (oxb > package), correct ? > > Werner > > > -----Original Message----- > > From: Gundersen, Richard > > [mailto:[EMAIL PROTECTED] > > Sent: Dienstag, 27. Februar 2007 10:25 > > To: [email protected] > > Subject: [castor-user] XSI attribute in generated XM > > > > Hi Werner > > > > Thanks for the reply. > > > > MortgageFeeValue does indeed extend another class, ValueBase, which > > itself implements the Serializable interface (required for > Hibernate). > > Do you think that this is the reason? If so, then it's not > a problem, > > the xsi attribute will be ignored by the application reading my XML. > > > > > > BTW this is how I'm using the marshaller: > > > > StringWriter result = new StringWriter(); > > marshaller.marshal(myobject, new StreamResult(result)); > > return result.toString(); > > > > The marshaller itself is a version of Spring's > CastorMarshaller class > > (I modified it it read multiple mapping files) > > > > Mapping mapping = new Mapping(); > > for(int i=0; i<mappingLocations.size(); i++) { > > Resource resource = new > > ClassPathResource((String)mappingLocations.get(i)); > > mapping.loadMapping(new > > InputSource(resource.getInputStream())); > > } > > MappingUnmarshaller mappingUnmarshaller = new > > MappingUnmarshaller(); > > MappingLoader mappingLoader = > > mappingUnmarshaller.getMappingLoader(mapping, BindingType.XML); > > classDescriptorResolver.setMappingLoader(mappingLoader); > > > > classDescriptorResolver.setClassLoader(mapping.getClassLoader()); > > > > Thanks for your help > > > > Regards > > > > Richard Gundersen > > Java Developer > > > > Email: [EMAIL PROTECTED] > > Phone: 01618302398 > > Fax: 01618342536 > > London Scottish Bank plc > > 24 Mount Street > > Manchester > > M2 3LS > > > > > > *** Disclaimer *** > > > > This electronic communication is confidential and for the exclusive > > use of the addressee. It may contain private and confidential > > information. The information, attachments and opinions contained in > > this E-mail are those of its author only and do not necessarily > > represent those of London Scottish Bank PLC or any other members of > > the London Scottish Group. > > > > If you are not the intended addressee, you are prohibited from any > > disclosure, distribution or further copying or use of this > > communication or the information in it or taking any action in > > reliance on it. If you have received this communication in error > > please notify the Information Security Manager at > > [EMAIL PROTECTED] as soon as possible and delete the message > > from all places in your computer where it is stored. > > > > We utilise virus scanning software but we cannot guarantee the > > security of electronic communications and you are advised > to check any > > attachments for viruses. We do not accept liability for any loss > > resulting from any corruption or alteration of data or > importation of > > any virus as a result of receiving this electronic communication. > > > > Replies to this E-mail may be monitored for operational or business > > reasons. London Scottish Bank PLC is regulated by the Financial > > Services Authority. > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email > Security System. > > > > > --------------------------------------------------------------------- > > 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 > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit > http://www.messagelabs.com/email > ______________________________________________________________________ > > *** Disclaimer *** > > This electronic communication is confidential and for the > exclusive use of the addressee. It may contain private and > confidential information. The information, attachments and > opinions contained in this E-mail are those of its author > only and do not necessarily represent those of London > Scottish Bank PLC or any other members of the London Scottish Group. > > If you are not the intended addressee, you are prohibited > from any disclosure, distribution or further copying or use > of this communication or the information in it or taking any > action in reliance on it. If you have received this > communication in error please notify the Information Security > Manager at [EMAIL PROTECTED] as soon as possible and > delete the message from all places in your computer where it > is stored. > > We utilise virus scanning software but we cannot guarantee > the security of electronic communications and you are advised > to check any attachments for viruses. We do not accept > liability for any loss resulting from any corruption or > alteration of data or importation of any virus as a result of > receiving this electronic communication. > > Replies to this E-mail may be monitored for operational or > business reasons. London Scottish Bank PLC is regulated by > the Financial Services Authority. > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > > --------------------------------------------------------------------- > 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 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ *** Disclaimer *** This electronic communication is confidential and for the exclusive use of the addressee. It may contain private and confidential information. The information, attachments and opinions contained in this E-mail are those of its author only and do not necessarily represent those of London Scottish Bank PLC or any other members of the London Scottish Group. If you are not the intended addressee, you are prohibited from any disclosure, distribution or further copying or use of this communication or the information in it or taking any action in reliance on it. If you have received this communication in error please notify the Information Security Manager at [EMAIL PROTECTED] as soon as possible and delete the message from all places in your computer where it is stored. We utilise virus scanning software but we cannot guarantee the security of electronic communications and you are advised to check any attachments for viruses. We do not accept liability for any loss resulting from any corruption or alteration of data or importation of any virus as a result of receiving this electronic communication. Replies to this E-mail may be monitored for operational or business reasons. London Scottish Bank PLC is regulated by the Financial Services Authority. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

