Hi,
I need to cast an object residing in AnyNode to a specific existing user
type. Simple java cast does not work.
Here is the code
AnyNode an = (AnyNode) hrt.getTPA_Extensions
().getAnyObject()[0];
BookingStatus bkstat = (BookingStatus) an;
The xml inside AnyNode is of type BookingStatus, but how can I tell castor
to do that?
Thanks for any kind of help
cheers
Michael
--
------------
Filekeys Reservation Services Ltd.
Michael Roepke
CEO
[EMAIL PROTECTED]
Rua Dom Jaime Câmara 272, 1° Andar
CEP 88015-120
Centro - Florianópolis - Santa Catarina
Brasil - Caixa Postal 6824 - 88015-972 - Florianópolis - SC
tel: 0055 48 3879 2230
mobile: 0055 48 8835 5431
www.filekeys.com
Skype ID:mmellouk
------------