cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dthomas <deepak...@gmail.com>
Subject Re: How do I make wss4j not create Timestamp element in soap header?
Date Thu, 19 Nov 2015 16:53:25 GMT
I thought about your reply and implemented it. I was hoping to add an
interceptor and modify the header, but your solution is much simpler.

Thanks a lot!!

On Thu, Nov 19, 2015 at 10:13 AM, Deepak Thomas <deepakzac@gmail.com> wrote:

> Thanks for the quick response!
>
> I can't modify the WSDL. The server does require a timestamp. However, it
> needs a customised one which I add via a handler. I 'm just trying to get
> wss4j to not add another one if one already exists.
>
> My requests fail on the server with an error stating that the Timestamp
> element was found 2 times when only 1 is allowed.
>
>
>
> On Thu, Nov 19, 2015 at 10:07 AM, coheigea [via CXF] <
> ml-node+s547215n5763105h71@n5.nabble.com> wrote:
>
>> Remove the sp:IncludeTimestamp policy from the WS-SecurityPolicy
>> configuration.
>>
>> Colm.
>>
>> On Thu, Nov 19, 2015 at 3:00 PM, dthomas <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5763105&i=0>> wrote:
>>
>> > Wss4j is configured by the ws-security policy in the WSDL.
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://cxf.547215.n5.nabble.com/How-do-I-make-wss4j-not-create-Timestamp-element-in-soap-header-tp5763076p5763104.html
>> > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>> Colm O hEigeartaigh
>>
>> Talend Community Coder
>> http://coders.talend.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/How-do-I-make-wss4j-not-create-Timestamp-element-in-soap-header-tp5763076p5763105.html
>> To unsubscribe from How do I make wss4j not create Timestamp element in
>> soap header?, click here
>> <http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5763076&code=ZGVlcGFremFjQGdtYWlsLmNvbXw1NzYzMDc2fC0yNTY1Njc4MzU=>
>> .
>> NAML
>> <http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/How-do-I-make-wss4j-not-create-Timestamp-element-in-soap-header-tp5763076p5763112.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message