Hi guys!
I would like to build a web service with attachments and object
inheritance with AXIS2 (this is working in AXIS).
Since only POJO right now provides the object inheritance (with the fix
made available in the last nightly build), I am forced to use POJO and I
cannot use ADB or XMLBEANS.
I experimented the attachments with byte [] ant they work! ....but with
big files this is impossible to manage because of the need to load all
the file in memory before sending it to the web service.
Is it possible to use the DataHandler or some InputStream in the POJO
interface??
Did someone tested it? If i put a DataHandler in the interface the
auto-generated WSDL of POJO put in weird types like generics,
annotations and other stuff... and retrieves a AXIS fault if I try to
call the method via REST...
Any suggestions?
Thanks a lot!
Lorenzo
--
*Lorenzo Dini*
CERN -- European Organization for Nuclear Research
Information Technology Department
CH-1211 Geneva 23
Building 31 - Office S-021
Phone: +41 (0) 22 7672013
Fax: +41 (0) 22 7668847
E-mail: [EMAIL PROTECTED]