Yes , 

thank you , you're wright. 

There was a fault in some bindings, as you say. After fixing it, i've seen,
that the second binding.xjb was not used. 

After your reply, i test the first way, like Dan said and now it works. 

My fault  ,sorry. 

Thanks a lot 

Bronchito

jan.minaroviech wrote:
> 
> Hello Bronchito,
> 
> it's not correct !
> Error you had was produced by jaxb, because some binding was incorrect 
> (maybe only with combination with others).
> 
> for the same wsdl it's correct as Dan wrote. I'm using this way also 5 
> binding files
> 
> best regards
> jano
> 
> 
> 
> 
> bronchito <[EMAIL PROTECTED]> 
> 05/20/2008 08:49
> Bitte antworten an
> [email protected]
> 
> 
> An
> [email protected]
> Kopie
> 
> Thema
> Re: Maven2 codegen-plugin using more binding files  [Virus checked]
> 
> 
> 
> 
> 
> 
> 
> 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.
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven2-codegen-plugin-using-more-binding-files-tp17325324p17336094.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to