sorry for double post but i resolve the problem:
you have to duplicate the hole wsdlOption part.
the new configuration looks like :
<wsdlOptions>
<wsdlOption>
<wsdl>
${basedir}/${schema.location}/myWsdl.wsdl
</wsdl>
<extraargs>
<extraarg>-b</extraarg>
<extraarg>
${basedir}/${schema.location}/binding1.xjb
</extraarg>
</extraargs>
</wsdlOption>
<wsdlOption>
<wsdl>
${basedir}/${schema.location}/myWsdl.wsdl
</wsdl>
<extraargs>
<extraarg>-b</extraarg>
<extraarg>
${basedir}/${schema.location}/binding2.xjb
</extraarg>
</extraargs>
</wsdlOption>
Thanks a lot.
Bronchito
bronchito wrote:
>
> Thanks for reply.
>
> I've tried it, but now the following failure occures :
>
>
> WSDLToJava Error : Thrown by JAXB : compiler was unable to honor this
> property customization. It is
> attached to a wrong place, or its inconsistent with other bindings.
>
>
> Is there another way, to enclose more then one binding file ?
>
> By the way, we must use CXF 2.0-incubator.
>
>
> Bronchito
>
>
> dkulp wrote:
>>
>>
>> I believe it would be:
>>
>> <extraarg>-b</extraarg>
>> <extraarg>
>> ${basedir}/${schema.location}/binding1.xjb
>> </extraarg>
>> <extraarg>-b</extraarg>
>> <extraarg>
>> ${basedir}/${schema.location}/binding2.xjb
>> </extraarg>
>>
>>
>> Dan
>>
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Maven2-codegen-plugin-using-more-binding-files-tp17325324p17334308.html
Sent from the cxf-user mailing list archive at Nabble.com.