Thank you Colm. How do I inline the attachment while still using WS-Security? Is there an example I can look at?
Thanks, Giriraj On May 16, 2016 8:12 PM, "Colm O hEigeartaigh" <[email protected]> wrote: > 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 >
