Red Hat Bugzilla – Bug 779843
[JBESB-3440] Smooks 1.2 JavaBean namespace with wise SoapClient causes ClassNotFoundException
Last modified: 2011-02-11 00:16:10 EST
Affects: Release Notes
Help Desk Ticket Reference: https://access.redhat.com/issue-tracker/1188673
Platform JIRA for [JBESB-3440] Smooks 1.2 JavaBean namespace with wise SoapClient causes ClassNotFoundException
Link: Added: This issue incorporates JBESB-3440
This is a candidate to SOA 5.1.0. No decision on inclusion, needs more investigation.
Writer: Added: dlesage
Temporarily reopening to update release note info.
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/JBESB-3440
WISE was loading the Smooks configuration for populating the Java classes, before the classes actually existed on the class-path. This caused an issue for the name-space configuration which needs to be able to load the class instance to perform some checks. As the classes did not yet exist, it would throw an exception.
To fix this problem, a modification was made to the WISE SmooksMapper class and the Smooks instance creation was moved out of the constructor and into the "applyMapping" method. The classes are already generated by the time this is run, so the exception no longer occurs.