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

2018-10-27 Thread Willem Jiang
The header is set once you set the defaultOperationName parameter, but
it doesn't effect the cxf consumer or producer when the dataformate is
MESSAGE.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Sat, Oct 27, 2018 at 2:03 PM Wang Yan  wrote:
>
> Hey,
>
> I did change as document described add defaultOperationName=getUserName as
> below , it should work but
> i still could not get operationName, why?
> String OPERATIONNAME="=getUserName";
> from(SOAP_ENDPOINT_IN_URI + "=MESSAGE"+OPERATIONNAME)
> .log(LoggingLevel.INFO,   "## headers
> in.headers.headers.operationName -> ${in.headers.operationName} ")
>
>
>
> On Sat, Oct 27, 2018 at 2:05 AM Willem.Jiang [via Camel] <
> ml+s465427n5825133...@n5.nabble.com> wrote:
>
> > 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 <[hidden email]
> > > wrote:
> >
> > >
> > > when i use
> > > from(SOAP_ENDPOINT_IN_URI +
> > > "=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 + "=MESSAGE").
> > >
> > > any idea or suggestion ?
> >
> >
> > --
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> > http://camel.465427.n5.nabble.com/how-to-get-operationName-for-Soap-Message-dataFormat-MESSAGE-tp5825110p5825133.html
> > To unsubscribe from how to get operationName for Soap Message
> > dataFormat=MESSAGE, click here
> > 
> > .
> > NAML
> > 
> >


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

2018-10-27 Thread Wang Yan
Hey,

I did change as document described add defaultOperationName=getUserName as
below , it should work but
i still could not get operationName, why?
String OPERATIONNAME="=getUserName";
from(SOAP_ENDPOINT_IN_URI + "=MESSAGE"+OPERATIONNAME)
.log(LoggingLevel.INFO,   "## headers
in.headers.headers.operationName -> ${in.headers.operationName} ")



On Sat, Oct 27, 2018 at 2:05 AM Willem.Jiang [via Camel] <
ml+s465427n5825133...@n5.nabble.com> wrote:

> 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 <[hidden email]
> > wrote:
>
> >
> > when i use
> > from(SOAP_ENDPOINT_IN_URI +
> > "=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 + "=MESSAGE").
> >
> > any idea or suggestion ?
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/how-to-get-operationName-for-Soap-Message-dataFormat-MESSAGE-tp5825110p5825133.html
> To unsubscribe from how to get operationName for Soap Message
> dataFormat=MESSAGE, click here
> 
> .
> NAML
> 
>