Hi Eric, > > I'am new to this forum and I say hello to you all.
You are welcome! > Since few weeks I'am facing some problems on trying to put additional > header elements in our SOAP messages, because we have to set > wsaddressing elements. > > I'am a little bit confused, becuase there seem to exist a lot of ways to do it > (SPRING config, configuration via cxf-servlet.xml and cxf.xml, adding > information to the WSDL document's binding section or last but not least to > manage it via interceptors). It is true, there are some different ways to do it, but finally all of them add correspondent CXF interceptors into client and service chain. > > The link to the CXF addressing page you mentioned, Andrei, shows how to > use the respective entry to enable wsaddressing via standard CXF or policy. > But the page does not show how to add particular header fields like > "RelatesTo" > and so on. If you only need standard WS-Addressing in your SOAP envelopers, you shouldn't care about single WSA SOAP headers at all - they will be automatically generated by CXF WSA interceptors. See CXF MAPCodec and MAPAggregatorImpl code for details. > > Can you or anyone else recommend a "silver bullet" to manage the adding of > addressing headers? Officially recommended ways is either configuring WS-Addressing feature or using WS-Policies. Cheers, Andrei. > > I'am appreciate for any answer. Thannk you in advance. > Eric > > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/Insert- > elements-in-soap-header-tp5712191p5723721.html > Sent from the cxf-user mailing list archive at Nabble.com.
