I am investigating document-style web services. The SOAP body contains an xml document to be passed to the web service running on JBOSS 3.2.3. I see that the SOAP body content (xml document) is parsed at the client and the server side.

The question is,

Can this parsing of SOAP body content be avoided or atleast configured to use a handler of our choice ?.

Reason,The aim is to parse the contents ourselves and use it either as a raw string object or document object but the choice should be ours.

As it stands now, there is a performance overhead as parsing is done twice - by axis and by us.