• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2068
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic