Is there a way to use XFire as a client to call a web service but insert a
handler that will dump the message body of the response to a file instead of
putting it through all of the XML parsing code? I have not found a handler
in the source code or examples that is able to bypass the XML parsing.
I did figure out how to attach the DomInHandler and then I added my own
custom handler that is similar to the LoggingHandler to dump a web service
response to a file. However, this is going through the XML parsing layer
and (if I understand the framework correctly) will add a lot of extra
overhead to the interface that I am trying to build. I just need to use the
JAXB bindings to build the request but then intercept the response before it
is parsed and drop it into a file. Is this possible with XFire?