if it is just a small chunk of binary data you can think about transferring it as byte[] ? Axis2 wil then encode it as xsd:base64binary, and you can stay completely POJO ...
/philipp -------- Original-Nachricht -------- Datum: Thu, 29 Mar 2007 13:39:58 +0100 Von: "Raghupathy, Gurumoorthy" <[EMAIL PROTECTED]> An: [email protected] Betreff: RE: Sending Binary Data as response ....: Example please > Hi, > > Thanks for your reply. > > However we cannot have any MTOM/XOP specific code in the > service implementation (we need to be POJO centric). > > We would (ideally) like to just use POJO and do not want > attachment either .... > > > > Any ideas welcome ..... > > > > > > > > Regards > > Guru > > > > ________________________________ > > From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] > Sent: 29 March 2007 13:26 > To: [email protected] > Subject: RE: Sending Binary Data as response ....: Example please > > > > Check the MTOM/XOP examples for adding DataHandlers to OMText elements. > That is what I am currently doing for this. > > > > Roshan Punnoose > > Phone: 301-497-6039 > > ________________________________ > > From: Raghupathy, Gurumoorthy > [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 29, 2007 5:44 AM > To: [email protected] > Subject: Sending Binary Data as response ....: Example please > > > > All, > > We would like to publish a web service in axis2 which sends > response data as a complex object which in turn also contains binary > data as property. > > Despite trying google and other searches I am not able to > find a example. > > > > Please can any one help by proving me the server-side > solution for the above issue? > > > > > > > > > > > > > > Regards > > Guru > > > > ------------------------------------------------------------------------ > ----------- > > Gurumoorthy Raghupathy > > Email : [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > Internal Extn : 2337 > > External Phone : 01483712337 > > Nielsen Book > 3rd Floor Midas House > 62 Goldsworth Road > Woking Surrey GU21 6LQ > > Visit us at : http://www.nielsenbookdata.co.uk/ > <http://www.nielsenbookdata.co.uk/> > > ------------------------------------------------------------------------ > ----------- > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
