You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2019/10/10 10:09:46 UTC

Re: cxf client using StAX and ws-security policy fails in PolicyEnforcer when processing server response

Hi Erik,

Would it be possible instead to create a test-case that I can apply
directly to CXF?

Colm.

On Fri, Sep 13, 2019 at 9:50 AM Erik Lund Jensen <in...@erikjensen.it> wrote:

> Hi
>
> I have forked cxf and created a branch "feature/dispatcher-policy" where
> the systests/jaxws DispatcherTest class has been retrofitted to test
> POLICY_OVERRIDE with StAX.
> See
> https://github.com/ErikLundJensen/cxf
>
> The branch should NOT be merged to master as I have disabled all the other
> tests in the DispatcherTest class and I have added ws-security policy wsdl
> as well.
> Anyhow, the branch reproduce the error I see in my project.
> PolicyEnforcer rejects the server reply at the client side.
>
> The following test case has been enhanced with ws-security policy:
>     testStreamSourcePAYLOAD()
>
> The error can be reproduced by running that test case.
>
> Best regards,
> Erik
>