Sure, with JAX-WS Handlers--take a look at the SOAPHandler.java in Step #5 here: http://www.jroller.com/gmazza/entry/jaxws_handler_tutorial . CXF interceptors are another option, check ClientInterceptors.java here: http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors.
In either case, you'll most probably want to add these elements to the soap header, not the soap body. Finally, if you're allowed to do WSDL modification, you can add the metadata as implicit SOAP headers which will give you an actual parameter in your SOAP calls to add this data: http://www.jroller.com/gmazza/entry/using_implicit_soap_headers_with. HTH, Glen Cecchi Sandrone wrote: > > I was wondering if it's possible to add some metadata to a WebService > call. In my case this can be useful to send the client locale; this can be > very useful to translate error messages or other strings in the server > side. Is it possible to do? > -- View this message in context: http://old.nabble.com/Add-metadata-to-a-service-call-tp28831515p28832869.html Sent from the cxf-user mailing list archive at Nabble.com.
