You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (Updated) (JIRA)" <ji...@apache.org> on 2011/09/29 07:44:45 UTC
[jira] [Updated] (CXF-1519) @XmlType in exception class is not
respected
[ https://issues.apache.org/jira/browse/CXF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma updated CXF-1519:
-----------------------
Description:
as per jaxws2.2 spec 2.5 and 3.7 : if there is @XmlType annotation in the exception class , it should be used for fault bean's @XmlType annotation.
[tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
tests-run-internal:
[junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
[junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
was:
[tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
tests-run-internal:
[junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
[junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
Fix Version/s: 2.5
2.4.3
Assignee: jimma
Summary: @XmlType in exception class is not respected (was: Explicitly set the namespace of a WebFault)
> @XmlType in exception class is not respected
> --------------------------------------------
>
> Key: CXF-1519
> URL: https://issues.apache.org/jira/browse/CXF-1519
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-WS Runtime
> Affects Versions: 2.0.5
> Reporter: Thomas Diesler
> Assignee: jimma
> Fix For: 2.4.3, 2.5
>
>
> as per jaxws2.2 spec 2.5 and 3.7 : if there is @XmlType annotation in the exception class , it should be used for fault bean's @XmlType annotation.
> [tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
> tests-run-internal:
> [junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
> [junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira