Hi all,
Thanks for your reply.I have to return JComponent because I am developing visualization web service about medical image using vtk tool (http://ij-plugins.sourceforge.net/vtk-examples/index.html).Do you think there is not other way except serializing the JComponent and sending it as an attachment,which is a very bad news for me?If so ,could you tell me how to do that or give me some related website?Many thanks in advance.

Kind regards,
Gao shu


From: "" Hasalaka Waravita<[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: return type of web service is swing.
Date: Mon, 28 Aug 2006 17:10:01 +0530

This is such a bad design, WS meant to be remote services and should not
give UI specific output. Best thing would be to change the design and return
a Model object may be a Object of complex type depending on requirement.
If it is unavoidable, you will have to think of something like serializing
the object and send it as an attachment, which anyway need redoing a
service.

On 8/27/06, shu gao <[EMAIL PROTECTED]> wrote:

Dear all,
     I am a newbie in web service.I am running into a problem.The return
type of my web

service is JComponent/JFrame.I do not know how to transfer it using soap
message and how to

develop the client program.Have you got some ideas for this trouble?Could
you give me a

hand?Many thanks in advance.

Gao s

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters


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



_________________________________________________________________
Windows LiveĀ™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


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

Reply via email to