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="&defaultOperationName=getUserName"; from(SOAP_ENDPOINT_IN_URI + "&dataFormat=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&node=5825133&i=0>> 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 ? > > > ------------------------------ > 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&node=5825110&code=d3lhbmJveEBnbWFpbC5jb218NTgyNTExMHwxMTU1MzAzODM=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >