Hi,
1. I'm having a pre-generated xml (snippet) as String and have to insert it
into the output of my Response. Currently I'm not sure how to do this
inside an out-interceptor. What is the best way to do this?
2. I want to transform the namespaces during a response. I've noticed the
TransformationFeature but it's not a static transformation. I'm having a
namespace defined xmlns:foo="http://foo.local/entity" (sample one). My
current challenge is to transform different namespaces for Consumer a and
b. A wants to have xmlns:entity and B wants it to be xmlns:ns1. So again my
question what is the best way to deal with such a requirement? Changing the
consumer implemenation is not possible.
Thanks in advance for your help.
Best regards
André
1. I'm having a pre-generated xml (snippet) as String and have to insert it
into the output of my Response. Currently I'm not sure how to do this
inside an out-interceptor. What is the best way to do this?
2. I want to transform the namespaces during a response. I've noticed the
TransformationFeature but it's not a static transformation. I'm having a
namespace defined xmlns:foo="http://foo.local/entity" (sample one). My
current challenge is to transform different namespaces for Consumer a and
b. A wants to have xmlns:entity and B wants it to be xmlns:ns1. So again my
question what is the best way to deal with such a requirement? Changing the
consumer implemenation is not possible.
Thanks in advance for your help.
Best regards
André