Is there are particular reason why your not using the *Descriptor files?
They should fix your problem.
--Erik O.
> -----Original Message-----
> From: PILLAI,RANJITH (HP-PaloAlto,ex1)
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2003 8:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Unmarshall-Name space problem.
>
>
>
>
> Hi castor group,
> Please help.
> I am new to Castor and I am evaluating Castor
> for our project requirements. Unfortunately
> Unmarshaller.unmarshall method is not working as I
> expected. Some body please clarifies this. For your
> convenience I attached three Java files created by
> Castor and they are (Password.java, Username.java and
> UsernameToken.java)
>
> I am using Unmarshaller.unmarshall(Class,Document)
> method. So in my case I am calling
> UsernameToken uToken=new UsernameToken();
> uToken= (UsernameToken)
> Unmarshaller.unmarshal(UsernameToken.class,
> doc);
> where doc is
> <?xml version="1.0" encoding="UTF-8"?>
> <UsernameToken>
> <Username test="hi">Ranjith</Username>
> <Password Type="PasswordText">ranjith</Password>
> </UsernameToken>
>
> Unfortunately after I execute unmarshall method, still
> my uToken is null and Castor is not throwing any
> exceptions also.
>
> Note: I am not using any Descriptor files as well as
> mapping files.
>
> I appreciate any feedback...
> Ranjith Pillai.
>
>
>
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev