Hi Andrei,
Thanks a lot for your suggestion. :)
I found a good way to do that, cxf has a
org.apache.cxf.ws.policy.attachment.external.ExternalAttachmentProvider,
which can read external policy attachment file, like:
http://www.w3.org/ns/ws-policy";
xmlns:test="http://x.y.z/Assertions";>
al Message-
> From: ellen [mailto:ellenxiao0...@163.com]
> Sent: Montag, 21. Dezember 2015 14:51
> To: users@cxf.apache.org
> Subject: RE: Dynamically set policy via message property
>
> Thanks a lot Andrei! :)
>
> This is about a requirement from our end user.
>
> U
Sorry Andrei,
Another question, I can only define one policy in POLICY_OVERRIDE file,
right?
If I want to use two policies such as ws-security and ws-addressing, can I
also define in a policy.xml?
Or I need two policy.xml files?
Thanks! :)
--
View this message in context:
http://cxf.547215.
Thanks a lot Andrei! :)
This is about a requirement from our end user.
User defines their web service provider without using WSDL (also doesn't use
Spring), they just use @WebService annotation to define service, so they
cannot get WSDL file and cannot add any policy in the WSDL file.
But they a
sage-
> From: ellen [mailto:ellenxiao0...@163.com]
> Sent: Freitag, 18. Dezember 2015 13:13
> To: users@cxf.apache.org
> Subject: RE: Dynamically set policy via message property
>
> Thanks a lot Andrei! :)
>
> BTW, about the question 2:
>
> You said:
> Ye
Thanks a lot Andrei! :)
BTW, about the question 2:
You said:
Yes, basically you can determine service operation in your interceptor and
decide (on the base of operation) which parsed policy should be applied.
But how to decide which operation should apply this policy?
Can I define it in somewh
Hi Ellen,
See the answers below:
> -Original Message-
> From: ellen [mailto:ellenxiao0...@163.com]
> Sent: Dienstag, 8. Dezember 2015 13:15
> To: users@cxf.apache.org
> Subject: Dynamically set policy via message property
>
> Hi Dear all,
>
> I'm using CXF and WS-Policy for my applicati