Hello,

 

I am a castor 1.1 user. I have the following requirement.

 

The xml that I want to unmarshall contains the following fragment. This xml
is generated by Castor itself.

 

<array-list><contact-composite-bean
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="java:com.infogix.insight.component.contact.export.fdt.ContactCompositeBean">

 

I did some refactoring in my code and the ContactCompositeBean is now in
com.infogix.insight.bc.control.export.fdt package. When I try to Unmarshall
the above xml, it errors out with
com.infogix.insight.component.contact.export.fdt.ContactCompositeBean
ClassNotFound exception.

 

How do I map
com.infogix.insight.component.contact.export.fdt.ContactCompositeBean to
com.infogix.insight.component.contact.export.fdt.ContactCompositeBean?

 

I tried using addNamespaceToPackageMapping() API. But did not seem to work.

 

Please let me know if you can think of a possible solution to the above
problem.

 

Thank you

Sajith Chembali

-- 
View this message in context: 
http://www.nabble.com/Castor-unmarshall-issue-tp24920230p24920230.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to