[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1297) Implement JAXB Fault Marshalling
Alejandro Guizar (JIRA)
jira-events at jboss.com
Mon Nov 13 08:31:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBWS-1297?page=comments#action_12346774 ]
Alejandro Guizar commented on JBWS-1297:
----------------------------------------
How to obtain the fault bean:
1.a If the exception class has a getFaultInfo method **and** WebFault annotation:
(note: how to interpret the "and" above? an exception having a WebFault annotation but not a getFaultInfo method does not comply with the semantics of the annotation. should we bomb?)
1.a.1 invoke getFaultInfo on the exception object; the return instance goes to JAXB
2.b Otherwise
2.b.1 retrieve the bean class from the fault metadata
2.b.2 instantiate the bean class
2.c.2 copy the non-excluded properties from the exception instance to the bean instance
> Implement JAXB Fault Marshalling
> --------------------------------
>
> Key: JBWS-1297
> URL: http://jira.jboss.com/jira/browse/JBWS-1297
> Project: JBoss Web Services
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: jaxws
> Reporter: Jason T. Greene
> Assigned To: Alejandro Guizar
> Fix For: jbossws-2.0.0.CR2
>
>
> Currently the marshalling layer tries to pass the exception class to JAXB. Instead it needs to pass the fault bean, and then copy the properties to/from the actual exception
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list