Hi

I have the following binding file:

<jaxws:bindings
          xmlns:jaxws="http://java.sun.com/xml/ns/jaxws";
          xmlns:xs="http://www.w3.org/2001/XMLSchema";
          xmlns:jxb="http://java.sun.com/xml/ns/jaxb";
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  <jaxws:bindings
 node="wsdl:definitions/wsdl:types/xs:schema/xs:complexType[@name='MyFault1'
or @name=' MyFault2' or @name=' MyFault3' ]">
    <jxb:package name="myexceptionpackage"/>
  </jaxws:bindings>
  <jaxws:bindings
 node="wsdl:definitions/wsdl:types/xs:schema/xs:complexType[@name='myTo1']">
    <jxb:package name="mypackage1"/>
  </jaxws:bindings>
  <jaxws:bindings
 node="wsdl:definitions/wsdl:types/xs:schema/xs:complexType[@name='myTo2']">
    <jxb:package name="mypackage2"/>
  </jaxws:bindings>
</jaxws:bindings>

The wsdl2java executes correctly but non of my classes are defined in the
packages that I configured.

Regards,

Néstor Boscán

Reply via email to