You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Ajit.K.Kulkarni" <ak...@TechMahindra.com> on 2007/09/14 06:55:03 UTC

AXIOM:Performance and Data Binding

Hi,

Requirement:

1.	parse the SOAP message, 
2.	get the data from SOAPBody, body is expected to be small as of
now, but may become large in future
3.	Need to process (walk) entire body

 

I read that AXIOM performance is best in initial document building but
worst when we walk the document

 

Would it make sense to get the SOAPBody using AXIOM and pass on the
XMLStreamReader to data binding framework like XMLBeans/JiBX to achieve
best performance?

Any suggestions?

 

Thanks & Regards,

Ajit K. Kulkarni| mBlox ATF | Tech Mahindra
Sharda Center, Erandwana, Pune, India - 411 004.
*Office: +91 20 6601 8100, Extn: 7536 | Mobile: +91 9822015321
Email: ak0030045@techmahindra.com

 



============================================================================================================================


Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================

Re: AXIOM:Performance and Data Binding

Posted by Amila Suriarachchi <am...@gmail.com>.
On 9/14/07, Ajit.K.Kulkarni <ak...@techmahindra.com> wrote:
>
>
> Hi,
>
> Requirement:
>
> 1.      parse the SOAP message,
> 2.      get the data from SOAPBody, body is expected to be small as of
> now, but may become large in future
> 3.      Need to process (walk) entire body
>
>
>
> I read that AXIOM performance is best in initial document building but
> worst when we walk the document
>
>
>
> Would it make sense to get the SOAPBody using AXIOM and pass on the
> XMLStreamReader to data binding framework like XMLBeans/JiBX to achieve
> best performance?


you have to use the getXMLStreamReaderWithoutCaching() method .
this method gives you the underling xmlstream reader with out creating the
OMElement structure.

See some generated code in Axis2 with wsdl2java tool using either  ADB or
xmlbeans.

Amila.

Any suggestions?
>
>
>
> Thanks & Regards,
>
> Ajit K. Kulkarni| mBlox ATF | Tech Mahindra
> Sharda Center, Erandwana, Pune, India - 411 004.
> *Office: +91 20 6601 8100, Extn: 7536 | Mobile: +91 9822015321
> Email: ak0030045@techmahindra.com
>
>
>
>
>
>
> ============================================================================================================================
>
>
> Disclaimer:
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at <a href="http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> http://tim.techmahindra.com/Disclaimer.html">
> http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> Mahindra.
>
>
> ============================================================================================================================




-- 
Amila Suriarachchi,
WSO2 Inc.