aspose file tools*
The moose likes Web Services and the fly likes CastorMarshaller multiple mappingLocations and custom FieldHandlers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "CastorMarshaller multiple mappingLocations and custom FieldHandlers" Watch "CastorMarshaller multiple mappingLocations and custom FieldHandlers" New topic
Author

CastorMarshaller multiple mappingLocations and custom FieldHandlers

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 236
Hi All,
I'm trying to use multiple mapping files. If I use them individualy they work, but together the following deployment error is seen

Caused by: org.springframework.oxm.castor.CastorMappingException: Could not load Castor mapping; nested exception is org.exolab.castor.mapping.MappingException: Could not find the class musicDateFromHandler

The problem seems to be with using field-handler with multiple mapping files.

file:service-context.xml


file:music-service-mapping.xml


file:sport-service-mapping.xml


Mat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CastorMarshaller multiple mappingLocations and custom FieldHandlers