hi

i am face to a difficulty with wsdl2java and the custom binding file.

i want 2 things in one file and it failed.

first i want to rename the SEI, according to doc i use (and it works):
 <bindings 
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
     xmlns="http://java.sun.com/xml/ns/jaxws";> 
      <bindings node="wsdl:definitions/wsdl:portType"> 
        <class name="ICIMProvider"/> 
     </bindings> 
 </bindings> 

second i want to set generateElementProperty to false (and it works)

<jaxb:bindings version="2.0" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";>
   <jaxb:globalBindings generateElementProperty="false"/>
</jaxb:bindings>


my issue is to declare both in the same binding.xml (the
generateElementProporty is not take into account)
<bindings
    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
    xmlns="http://java.sun.com/xml/ns/jaxws";>
    <globalBindings generateElementProperty="false"/>
    <bindings node="wsdl:definitions/wsdl:portType">
    <class name="ICIMProvider"/>
    </bindings>
</bindings>

it failed

what am i doing wrong ??

regards
bruno




--
View this message in context: 
http://cxf.547215.n5.nabble.com/wsdl2java-rename-SEI-generateElementProperty-false-tp5730312.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to