[ http://issues.apache.org/jira/browse/AXIS2-825?page=comments#action_12443017 ] Dennis Sosnoski commented on AXIS2-825: ---------------------------------------
The JiBX Fault handling now works, at least for my test case. I'm leaving this bug report open because I haven't tested the code attached to this bug report. > WSDL2Java compilation problem with JiBX bindings > ------------------------------------------------ > > Key: AXIS2-825 > URL: http://issues.apache.org/jira/browse/AXIS2-825 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Affects Versions: 1.0 > Environment: Intel Mac, Eclipse 3.2RC3, java 1.5.0_06, Axis2 1.0 June > 13th build, JiBX 1.1 > Reporter: John Grantham > Assigned To: Dennis Sosnoski > Attachments: problem.zip > > > Code generation works fine when no fault is defined in the WSDL. When a > fault is defined, there is a compilation problem in line four of the first > catch block of the invokeBusinessLogic(...) method of the > XXXMessageReceiverInOut class: > } catch > (ubc.nextgen.service.address.AddressRetrievalServiceSkeleton.StandardErrorException > e) { > org.apache.axis2.AxisFault f = new org.apache.axis2.AxisFault( > "StandardErrorException"); > f.setDetail(toOM(e.getFaultMessage(), false)); > throw f; > } > the toOM(...) method has incorrect parameters for the generated exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
