Title: RE: Bindfactory question...

It turned out that I have the

  <mapping class="myType[]" name="myType[]"
           marshaller="org.jibx.extras.TypedArrayMapper"
           unmarshaller="org.jibx.extras.TypedArrayMapper">
  </mapping>

defined BEFORE the definition of the tag <mapping name="xxx">

This caused the binding compiler to not generate the bindingFactory class.

Moving the <mapping class="xxx  lines to the end of the file fixed the problem.

Thanks.

-Aston


    _____________________________________________
    From:   Aston Chan 
    Sent:   Wednesday, August 11, 2004 4:47 PM
    To:     '[EMAIL PROTECTED]'
    Subject:        Bindfactory question...

    Hi,

    I ran the bind compiler.  There are a whole bunch of classes generated except the JiBX_xxx_bindingFactory.class and JiBX_MungeAdapter.class classes.  My question is under what circumstances will the bindingFactory.class NOT generated?  BindingCompiler didn't give me any error at all.

    The only success I have was to use the xsd2jibx to generate the java files.  Then the binding works fine.  However, I can't do it this way because I have to use Axis generated java files (wsdl2java).  I did modify the classes (added serializer and deserializer) and the binding file to make the binding compiler happy.  But then, when I ran my Unit test, I noticed the JiBX_xxx_bindingFactory class is missing.

    Thanks.

    -Aston

Reply via email to