Hi Naresh,

Right now I don't think there is a way you can get untouched stream,
because Axis begins processing a SOAP message by parsing it using SAX and
then it stores these SAX events. Then Axis work on these stored SAX
events.
So if you really, really want to do this - you have to start parsing
before SAX parser is called.

So even when we use message style, practically what we get is already
parsed XML in a DOM structure.

Anyway this is a good question, because it's my personal belief that we
should do something about this.

Regards,
Dimuthu.
-- 
Lanka Software Foundation. Proud to be a part of it. 
http://www.opensource.lk

> Hi
>
> Is there a way to get raw and unparsed request XML from AXIS (for
> message style services)?
>
> I tried getting it by using the following in invoke method of a "handler
> provider" (a provider, which is implemented as a handler)
>
> msgContext.getCurrentMessage().writeTo(outStream)
>
> But it seems that the AXIS is parsing the XML before I'm extracting it.
> I want to parse the XML myself and thus want to get the unparsed XML to
> eliminate the overhead of parsing done by AXIS.
>
> thanks,
> Naresh



Reply via email to