Hi Giriraj,

CXF does not yet fully support using MTOM with WS-Security. Your options
are either to disable MTOM and inline the attachment, or else use the Soap
With Attachments profile by adding "<sp:Attachments />" to your
"SignedParts" policy (not sure offhand if this is available or not in CXF
2.7.11, it might have been a later version).

Colm.

On Wed, May 11, 2016 at 8:31 AM, Giriraj Bhojak <[email protected]> wrote:

> Hi,
>
> I need to ensure that a text file I send using WS-Security policy must be
> signed and encrypted as well.
> Without using security policy, I am able to send the file properly to a
> jaxws based CXF endpoint.
> MTOM is enabled as well.
> When I enable WS-Security policy for that endpoint, I get an error on the
> lines of 'signature failed'.
> I am using v2.7.11.
>
> Could anybody tell me if I am missing anything?
>
> Thanks,
> Giriraj
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to