cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <ning.ji...@iona.com>
Subject Re: JCA test issue
Date Thu, 05 Apr 2007 03:30:21 GMT
Hi Dan,

The test is for getting the connection when it was passed a wrong SEI class.
The exception is thrown by ManagedConnectionImpl.getCXFServiceFromBus() 
which use the Jaxws API to create the client proxy.

Cheers,

Willem.

Dan Diephouse wrote:
> Hiya,
>
> I made some changes to consolidate the code in ServiceImpl &
> JaxWsProxy/ClientFactoryBeans. However, this seems to have broken a JCA
> test. The code is this:
>
>
>        try {
>            mci.getConnection(subj, cri);
>            fail("Expected ResourceAdapterInternalException");
>        } catch (ResourceAdapterInternalException raie) {
>            assertTrue("asserting ResourceException.", raie.getMessage()
>                .indexOf("Failed to create proxy") != -1);
>        }
>
> Why should there be a ResourceAdapterInternalException? I don't really 
> see
> where this could even be throw from. Can anyone point me into the right
> direction so I can fix this?
>
> Thanks,
> - Dan
>
>

Mime
View raw message