shu gao! I think instead you can send the components properties and construct the instance on the other side , [Source] [ jComponent ] ---> Properties [ <soap> <jcomp instancename="myjcomp" height="400" width="600" color="pink" layout="flow"> <innercomp name="jlal1" type="JLabel"/ > ... ..
does it make sense ? -----Original Message----- From: shu gao [mailto:[EMAIL PROTECTED] Sent: Sunday, September 03, 2006 9:48 PM To: [email protected] Subject: [SPAM] - Re: return type of web service is swing. - Bayesian Filter detected spam 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(tm) 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] ____________________________________________ Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies. Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have recieved this electronic message in error, please notify the sender immediately and destroy the original message and all copies. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
