cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: How to declare an attribute required and non-primitive?
Date Wed, 21 Sep 2011 19:18:08 GMT
On Tuesday, September 20, 2011 10:06:27 PM MosheElisha wrote:
> When I use the tool on my WSDL the
> client is generated with "int interval" and I would like it to be generated
> with "Integer interval"

Try creating a jaxb binding file that looks something like:

<jaxb:bindings xmlns:jaxb=""
        <jaxb:javaType name="java.lang.Integer"
                       xmlType="xsd:int" />

and pass that to wsdl2java with the -b flag.

Daniel Kulp
Talend -

View raw message