|
From: jm on 2 Jul 2008 16:39 I have mostly seen simple examples that add two numbers and return an int or simple hello world string. What I read is that whatever I send back it will be in JSON if I use [ScriptService], but I don't know what to send back besides primitive types. Just wondering how to proceed. Thank you for any help.
From: "Alvin Bruney [ASP.NET MVP]" vapor dan using hot male spam on 7 Jul 2008 21:48 Return type should be XML for XML Web Services. XML can flatten any object type so you should be able to pass any serializable object. Ofcourse, the job is yours to unflatten it on the otherside for none primitive types. -- Regards, Alvin Bruney [MVP ASP.NET] [Shameless Author plug] Download OWC Black Book, 2nd Edition Exclusively on www.lulu.com/owc $15.00 ------------------------------------------------------- "jm" <needin4mation(a)gmail.com> wrote in message news:d4fe5dbf-e481-4864-b53d-aa507e91d592(a)r66g2000hsg.googlegroups.com... > I have mostly seen simple examples that add two numbers and return an > int or simple hello world string. What I read is that whatever I send > back it will be in JSON if I use [ScriptService], but I don't know > what to send back besides primitive types. > > Just wondering how to proceed. > > Thank you for any help.
|
Pages: 1 Prev: Beginner gridview question Next: RegularExpressionValidator bug on firefox |