cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Müller <r.muel...@unicomp-berlin.de>
Subject Re: Creating an UnsignedShort
Date Wed, 15 Dec 2010 13:12:20 GMT
hi,

thanks for your respond.

Am 14.12.2010 21:43, schrieb Daniel Kulp:
> 
> I think you would just need to use a java.lang.Integer.   Not really sure 
> though.  That is what jaxb maps an unsignedShort to, but when writing it, I'm 
> not sure what JAXB would do in that case.
> 

that is exactly, what i've done. but 'java.lang.Integer' is converted to
'xs:int' (of course) :

<Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">11</Value>

Is there any way to explicitly set unsigned datatypes?

thanks,

ronald



Mime
View raw message