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]
> > <http:///user/SendEmail.jtp?type=node=5825133=0>> 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
> > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=5825110=d3lhbmJveEBnbWFpbC5jb218NTgyNTExMHwxMTU1MzAzODM=>
> > .
> > NAML
> > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.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]
> <http:///user/SendEmail.jtp?type=node=5825133=0>> 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
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=5825110=d3lhbmJveEBnbWFpbC5jb218NTgyNTExMHwxMTU1MzAzODM=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


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

2018-10-26 Thread Willem Jiang
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  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 ?


how to get operationName for Soap Message dataFormat=MESSAGE

2018-10-26 Thread Wang Yan
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 ?