I am trying to use caster's marshall/unmarshall framework to replace Apache's BeanSerialier. However, i got a problem with the xsi:type attribute. The "xsi" namespace definition is in the SOAP envelope. When the message body passed in to Castors marshaller. there is no namespace defintion for "xsi". The following error show up. Does anyone have some ideas on how to solve this problem? Any help on this would be greatly appreciated.
org.xml.sax.SAXException: The namespace associated with the prefix 'xsi' could not be resolved. at org.exolab.castor.xml.UnmarshalHandler.processAttributeList(Unknown Source) at org.exolab.castor.xml.UnmarshalHandler.startElement(Unknown Source) at org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source) at org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source) at org.exolab.castor.xml.util.DOMEventProducer.start(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source) This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev