axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Pathirage" <>
Subject Re: New method for creating xml_reader
Date Sat, 12 Jul 2008 14:01:11 GMT
As Thilina mentioned in above thread Axis2/Java keeps a instance of mime
parser in it's xml builder. So I think it's ok to follow that method. AFAIK,
I think if we enable MTOM caching we have to have this feature or is anybody
have ideas about how to solve this without going to this method?. Manjula
can you point out the changes we need in the parser. Then we can discuss the
problem and available solutions. This will help us to avoid any problems
occur in the future because of the changes.
If we have two methods for xml reader creation, how we can use both of them
in the Axis2/C engine. Are we going to check the MIME headers and create the
required xml reader?


On Sat, Jul 12, 2008 at 6:53 PM, Manjula Peiris <> wrote:

> Hi all,
> MTOM caching stuff is finished in both send and receiving sides.It is
> available here [1]. But due to this [2] problem, it cannot be integrated
> to Axis2/C trunk.
> In order to solve that problem we need to keep a reference of
> mime_parser instance in the soap_builder similarly stax_builder. So when
> parsing the soap part the xml_reader will not just read from the stream,
> but also need to read from the buffer which will be available after
> parsing mime_headrs. So we need to create a parser instance which will
> first read from the buffer and when that buffer is not containing any
> more data, it will read from the stream. So we may need to add a new
> function say,
> xml_reader_create_for_memory_and_io and change some of the logic in
> parser.
> Your suggestions are highly appreciated.
> [1]
> [2]
> Thanks,
> -Manjula.
> --
> Manjula Peiris:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

-- "Oxygen for Web Service Developers" "Web Services With Axis2/C"

View raw message