axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Afkham Azeez <afk...@gmail.com>
Subject Re: Problem using byte[] in POJO web service
Date Thu, 26 May 2011 13:38:44 GMT
Please check with the release candidate
http://people.apache.org/~sagara/dist/axis2/1.6.0/axis2-1.6.0-bin.zip and
let us know whether this issue still exists.

On Thu, May 26, 2011 at 6:55 PM, Mario Oliveira Rodrigues <
Mario.Rodrigues@brisa.pt> wrote:

> Last one. 1.5.4 !!
>
> Mário
>
>
>
>
>
> --------------------------------------------------------------------------------
>
> Declaração:
> A informação contida nesta mensagem, e os ficheiros anexos, é privilegiada
> e confidencial, destinando-se exclusivamente ao(s) destinatário(s).Se não é
> o destinatário (ou o responsável pela sua entrega ao destinatário) e recebeu
> a mesma por engano, fica notificado que é estritamente proibido reproduzir,
> guardar ou distribuir toda ou qualquer parte desta mensagem e ficheiros
> anexos.Por favor reencaminhe a mensagem para o responsável pelo seu envio ou
> contacte-nos por telefone e elimine a mensagem e ficheiros anexos do seu
> computador,sem os reproduzir.
>
> Disclaimer:
> The information contained in this message, and any files attached, is
> privileged and confidential, and intended exclusively for the included
> addresses.If you are not the intended recipient (or the person responsible
> for delivering to the intended recipient) and received this message by
> mistake, be aware that copy, storage, distribution or any other use of all
> or part of this message and the files attached is strictly prohibited.
> Please notify the sender by reply e-mail or contact us by telephone and
> delete this message and the files attached, without retaining a copy.
>
>
> --------------------------------------------------------------------------------
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: quinta-feira, 26 de Maio de 2011 12:53
> To: java-user@axis.apache.org
> Subject: Re: Problem using byte[] in POJO web service
>
> I remember that there were a couple of issues with base64binary data
> in ADB that have been fixed not so long ago. What version of Axis2 are
> you using?
>
> Andreas
>
> On Mon, May 23, 2011 at 18:48, Mario Oliveira Rodrigues
> <Mario.Rodrigues@brisa.pt> wrote:
> > I have defined a web service like
> >
> >
> >
> > // the service
> >
> > public class MyService{
> >
> >
> >
> > public void  handleMessage(Message msg) {
> >
> >                 ...
> >
> > }
> >
> > }
> >
> >
> >
> >
> >
> > // message class
> >
> > public class Message {
> >
> >                 byte       data[];
> >
> > ....
> >
> > }
> >
> >
> >
> > Then I have generated the wsdl using maven2 plugin.
> >
> >
> >
> > The problem is that I'm only receiving 15 bytes inside data of Message
> > object.
> >
> > In the generated wsdl the field is base64binary.
> >
> >
> >
> > The client side is generated as a DataHandler, not a byte[], can this be
> the
> > problem ?
> >
> >
> >
> > Best regards,
> >
> > Mário Rodrigues
> >
> >
> >
> >
> >
> > ________________________________
> >
> > Declaração:
> > A informação contida nesta mensagem, e os ficheiros anexos, é
> privilegiada e
> > confidencial, destinando-se exclusivamente ao(s) destinatário(s).Se não é
> o
> > destinatário (ou o responsável pela sua entrega ao destinatário) e
> recebeu a
> > mesma por engano, fica notificado que é estritamente proibido reproduzir,
> > guardar ou distribuir toda ou qualquer parte desta mensagem e ficheiros
> > anexos.Por favor reencaminhe a mensagem para o responsável pelo seu envio
> ou
> > contacte-nos por telefone e elimine a mensagem e ficheiros anexos do seu
> > computador,sem os reproduzir.
> >
> > Disclaimer:
> > The information contained in this message, and any files attached, is
> > privileged and confidential, and intended exclusively for the included
> > addresses.If you are not the intended recipient (or the person
> responsible
> > for delivering to the intended recipient) and received this message by
> > mistake, be aware that copy, storage, distribution or any other use of
> all
> > or part of this message and the files attached is strictly prohibited.
> > Please notify the sender by reply e-mail or contact us by telephone and
> > delete this message and the files attached, without retaining a copy.
> > ________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com,
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
*
*email: **azeez@wso2.com* <azeez@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
*
*

Mime
View raw message