You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Julien HENRY <he...@yahoo.fr> on 2007/03/07 21:03:45 UTC

Writing POJO Web Service with MTOM support

Hi all,

Is it possible to write a POJO Web Service that return an image as an Attachment (with MTOM because I need WS-Security). Or should I manually write the WSDL file and generate the Web Service stubs?

Thanks for your reply

Julien




	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Writing POJO Web Service with MTOM support

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,
There was an effort to support for DataHandler type variables in
pojo's... Please try it with the latest snapshots, else you need to
specify your variables as byte[] type..

I would strongly encourage you to manually write the WSDL If there is
a possibility of doing so...

Thanks,
Thilina

On 3/8/07, Julien HENRY <he...@yahoo.fr> wrote:
> Hi all,
>
> Is it possible to write a POJO Web Service that return an image as an Attachment (with MTOM because I need WS-Security). Or should I manually write the WSDL file and generate the Web Service stubs?
>
> Thanks for your reply
>
> Julien
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org