Tips and tricks for using JiBX
start > axis2-jibx

axis2-jibx

Created by dsosnoski. Last edited by dsosnoski, 293 days ago. Viewed 9,432 times. #45
attachments
axis2-jibx-1.1.1c.jar (32808)
axis2-jibx-1.2b.jar (32872)
jibx-jars.zip (434874)

Axis2 1.2 update

Testing the validation module helped me find some serious problems with the JiBX serialization that only show up when building an AXIOM model from JiBX objects. The attached axis2-jibx-1.2b.jar corrects these problems, along with other problems relating to java name generation, simpleType restriction handling, and inappropriate "Non-abstract mapping for class … needs element name" error messages from WSDL2Java. To use it, substitute this jar for the axis2-jibx-1.2.jar in your distribution. Remember to delete the existing axis2-jibx-1.2.jar when you do this, and make the change in the /WEB-INF/lib directory of your Axis2 server installation (the expanded axis2.war file) as well as your normal Axis2 installation.

You may also want to update your JiBX and Axis2 installations with the latest JiBX build jars, from the jibx-jars.zip file. These will soon be replaced by the official JiBX 1.1.5 release, but for now I'm making them available here for testing purposes.

JiBX with Rampart bug

Since the release of Axis2 1.1.1 there have been several serious bugs found that effect users of WS-Security (the Rampart module) with JiBX data binding. The attached axis2-jibx-1.1.1c.jar has fixes for these problems, including the bug fixes mentioned above for Axis2 1.2. If you are using WS-Security with JiBX data binding you'll want to download this jar and substitute it for the axis2-jibx-1.1.1.jar in your distribution. Remember to delete the existing axis2-jibx-1.1.1.jar when you do this, and make the change in the /WEB-INF/lib directory of your Axis2 server installation (the expanded axis2.war file) as well as your normal Axis2 installation. This bug is only known to effect users of WS-Security, so if you're not using WS-Security you don't need the update.

Axis2-JiBX example

I've added a downloadable example intended to help users get started using JiBX data binding with Axis2. This uses the JiBX unwrapped support, and also includes an example of SOAP Fault handling. Faults are an especially confusing area when working with Axis2 (whether with JiBX, or one of the other data binding frameworks), so look over the Axis2 Fault documentation that's based on the example if you're going to be doing this.

Jibx2Wsdl

The new jibx2wsdl tool is now available for testing. The wiki page is temporary while the tool is going through initial testing; by early June it'll be formally released as part of a JiBX 1.2 beta build.

Classes

The main site now has a page on my >>Axis2 training class. There's also a wiki page describing my SOA for Developers class. The latter is generic material that applies equally to developers working with .NET or any other platform, not just Axis2 with JiBX data binding - but if you've come to this page the class material is probably of interest.

I'm currently scheduling teaching engagements for a trip to Australia in September, and another trip to the U.S. in October-November. >>Contact me to enquire about arranging a class for your organization.

no comments
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt