Juergen,

There is a bug in CXF 2.4 when you use JiBX databinding. It has been fixed
in CXF 2.5. Until 2.5 is released, you will have to use the
apache/fusesource snapshot version.

Instructions on building CXF from source are here:
http://cxf.apache.org/building.html

I'll create another post today with a link to a working CXF/JiBX example.

Don Corley
JiBX contributor

Message: 3
> Date: Tue, 26 Jul 2011 13:16:33 +0200
> From: J?rgen Bockhorn <juergen.bockh...@heuboe.de>
> Subject: [jibx-users] Trouble using jibx databinding in CXF 2.4.0
> To: "jibx-users@lists.sourceforge.net"
>        <jibx-users@lists.sourceforge.net>
> Message-ID:
>
>  <128DB53227227D43B4AAEED73E89A81902CF59D814@vm-exchg-2k8.heuboe.hbintern>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> we are trying to move from AXIS2 with JiBX databinding to CXF/JiBX.
> Unforunately we are running into an error.
> Both CXF/JAXB and AXIS2/JiBX are working fine with the example.
>
>
> wsdl2java with jibx data-binding crashes if the schema contains simpleType
> definitions (stacktrace below).
>
> To reproduce this behaviour I attached a maven project including
> - pom.xml
> - src/main/resources/fooBar.wsdl
> - src/main/resources/fooBar.xsd
>
> The fooBar.xsd schema contains a simpleType definition 'EnumErrorType'. If
> this definition (and its usage) is removed the compile process works like
> expected. Using JAXB data binding the wsdl2java process runs also with the
> simpleType included.
>
> The fooBar.wsdl passes the wsdlvalidation tool without errors.
>
> Any hints how to make the jibx databinding work would be appreciated.
>
> Thanks
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to