git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to get operationName for Soap Message dataFormat=MESSAGE


Hi,

When you use MESSAGE dataformat, camel-cxf component doesn't read the
message, so it makes sense that you cannot operationName header.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Oct 26, 2018 at 4:07 PM Wang Yan <wyanbox@xxxxxxxxx> wrote:
>
> when i use
> from(SOAP_ENDPOINT_IN_URI +
> "&dataFormat=CXF_MESSAGE").removeHeaders("CamelHttp*")
>
> I can  get operationName  by  ${in.headers.operationName}
> but I could not get   operationName  when useing
> dataFormat=MESSAGE
>
> from(SOAP_ENDPOINT_IN_URI + "&dataFormat=MESSAGE").
>
> any idea or suggestion ?