Hello all,

I'm develoing a web service consumer with Axis. With axis-wsdl2java task
Axis created the proxy client. For most of the service methods I use
something like below:

        OnlinePayment op = new OnlinePaymentLocator();
        OnlinePaymentSoap port = op.getOnlinePaymentSoap();
        port.method( ... );

Axis generates result objects that I can extract information from
org.apache.axis.message.MessageElement elements (by calling
resultObject.get_any()). 

All of the methods but one returns some small set of data. One of them
returns approximately 15,000 records and records contain huge
information. I think Axis creates every MessageElement and then returns
a huge multi dimensional array, and it takes a lot of time.

For other methods performance is pretty good, but for the exceptional
one I think I need another method to handle the response. So my question
is what are the other possibilities ? Can I get the response in a
streaming way, I mean like event based parsing of SAX instead of a huge
array of arrays ?

Regards.
/tb.


Reply via email to