I'm confused why it's not a good comparison?. The .NET one is taking a
byte[] as a param (which is what I would have expected to be produced
for the Axis2 stubs as well). The Axis2 one created the DataHandler -
this is why I used a File.. not that I wanted to use a File - I wanted
to just use a String - but it seemed sort of silly to have to make a
File out of a String just to pass it to the Datasource to then pass to
the DataHandl
.Net might be good for your specific use case.. But using byte[] gives
you a limitation to the amount of data which you can send, as byte[]
loads everything in to the memory...where as you can use DataHandlers
to handle very large binary data...

Ironically I can remember an earlier mail to the axis2-dev which
blamed the use of byte[] in .net :)..

Thanks,
Thilina

>
> With xmlbeans for example, there is no DataHandler. To populate via a file,
> you'd do:
>
> GetReport getReport = GetReport.Factory.parse(new File("/home/rick
> >
> /projects/eds/testsrc/testresources/testspecs/pgm1.xml"));

Cool. I'll try having the client code created with xmlbeans and see
how that works out. Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to