aspose file tools*
The moose likes XML and Related Technologies and the fly likes [Castor]  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "[Castor]  "unmarshalling exception: unable to find FieldDescriptor for"" Watch "[Castor]  "unmarshalling exception: unable to find FieldDescriptor for"" New topic
Author

[Castor] "unmarshalling exception: unable to find FieldDescriptor for"

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Hi,

I am using Castor when unmarshalling data.

Anyone have any idea on how to fix this?

Below are my codes.



(Above are from the Spring in Action book.)
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Anyways, just so I can proceed, I tried to change the class returned by the web service (changed client, xsd, mapping.xml, etc.).

Instead of returning a PokerHandType (an enum), I returned a Card[]. It works.

This didnt solve the original problem but this is okay for my hello world-level of study at the moment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Castor] "unmarshalling exception: unable to find FieldDescriptor for"