cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Opalka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1244) Application Exception not serialized properly
Date Thu, 05 Feb 2009 23:11:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670943#action_12670943
] 

Richard Opalka commented on CXF-1244:
-------------------------------------

That was JBossWS integration code issue.
Related issue is https://jira.jboss.org/jira/browse/JBWS-2513

> Application Exception not serialized properly
> ---------------------------------------------
>
>                 Key: CXF-1244
>                 URL: https://issues.apache.org/jira/browse/CXF-1244
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3, 2.0.4
>            Reporter: Thomas Diesler
>            Assignee: Daniel Kulp
>
> /home/tdiesler/svn/jbossws/stack/cxf/trunk
> [tdiesler@tddell trunk]$ ant -Dtest=org.jboss.test.ws.jaxws.samples.exception.ExceptionTestCase
one-test
> one-test:
>     [junit] Running org.jboss.test.ws.jaxws.samples.exception.ExceptionTestCase
>     [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 7.246 sec
>     [junit] Test org.jboss.test.ws.jaxws.samples.exception.ExceptionTestCase FAILED
> Testcase: testRuntimeException took 4.953 sec
> Testcase: testSoapFaultException took 0.258 sec
> Testcase: testApplicationException took 0.306 sec
>         FAILED
> expected:<Some validation error> but was:<null>
> junit.framework.ComparisonFailure: expected:<Some validation error> but was:<null>
>         at org.jboss.test.ws.jaxws.samples.exception.ExceptionTestCase.testApplicationException(ExceptionTestCase.java:125)
>    public void testApplicationException() throws Exception
>    {
>       try
>       {
>          proxy.throwApplicationException();
>          fail("Expected UserException");
>       }
>       catch (UserException_Exception e)
>       {
>          UserException ue = e.getFaultInfo();
>          assertEquals("Some validation error", ue.getMessage());
>          assertEquals("validation", ue.getErrorCategory());
>          assertEquals(123, ue.getErrorCode());
>       }
>    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message