Hello, I asked this question early this morning on the Metro list and didn't get an answer, perhaps the CXF list can help me here:
http://old.nabble.com/Retrieving-MessageContext-properties-from-asynchronous-SOAP-calls-tp28535341p28535341.html Basically, I'm making async soap calls and due to a customer desire I also need to track the size in bytes of the SOAP response. I was thinking of using a JAX-WS handler to read the SOAP XML and get a count in bytes and store it in a MessageContext property, but I don't know how I can get that information to the async handler so I can persist that information. One possibility might be to have the SOAP client store a Map (soap call id#, size in bytes) as a MessageContext property and have the JAX-WS handler update that Map. The async handler could be initialized with the same Map object and soap call id# and then just read in bytes from that Map--would that work and be safe across multiple async calls? Any ideas? Thanks, Glen -- View this message in context: http://old.nabble.com/Retrieving-a-MessageContext-property-from-an-Async-handler-tp28542540p28542540.html Sent from the cxf-user mailing list archive at Nabble.com.
