Hi

Apologies, but I want to post my message again with the correct subject. See
below:

Cheers,

Hi



I am trying to use JIBX with AXIS2.


   - I extracted the XSD elements from the WSDL.
   - I generated a bindings.xml file using codegen.
   - I used the bindings.xml file to generate the AXIS stub with wsdl2java.
   - Running ant on the generated class failed due to missing dependencies.
   In order the build the jar I copied the classes generated by codegen in the
   previous step.
   - I linked the jar to my project
   - I instantiated the stub and made a SOAP call.

 Unfortunately, I received a Null pointer exception. This was caused by a
missing IMarshallable interface. The generated classes are not implementing
the IMarshallable interface. The error is “No JiBX <mapping> defined for
class xxxxxx”.

 Potential causes:


   - WSDL2Java may not be generating the classes properly – although I
   updated AXIS with JIBX-1.2.3
   - The codegen tool needs to be told to add a IMarshallable interface

 Please can you help and any assistance would be appreciated. On the face of
it JIBX looks to be exactly what I want.

 Best



James
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to