JiBX now includes support for generating classes from schemas, which can easily be customized to remove unnecessary schema components (and their associated classes). You do need to do this as a separate step from running WSDL2Java, and need to have the schemas separate from the WSDL. You can read about the code generation from schema here: http://jibx.sourceforge.net/fromschema/index.html There's also an IBM developerWorks tutorial which covers this in more detail: http://www.ibm.com/developerworks/java/tutorials/j-jibx2/

 - Dennis

--
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117


keith chapman wrote:
If you feel that ADB is generating too many classes for you then xmlbeans is not an option. It generates way more classes than ADB. On the other hand JiBX would be good if you already have your java classes in hand.

Thanks,
Keith.

On Thu, Mar 26, 2009 at 7:27 PM, Leonardo <[email protected] <mailto:[email protected]>> wrote:

    thank you for the reply, ;)

    2009/3/26 Sagara Gunathunga <[email protected]
    <mailto:[email protected]>>

        Hi ,
        Axis2 supports for  many data binding options such as XMLBeans
        , JiBX
        and Caster , please refer following links and sample directory of
        Axis2 distribution .


        [1] - http://ws.apache.org/axis2/1_4_1/toc.html
        [2] - http://ws.apache.org/axis2/1_4_1/quickstartguide.html

        Thanks ,

        (...)





--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Reply via email to