Click here to Skip to main content
15,896,915 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Linq to SQL Pin
dan!sh 25-Oct-10 19:51
professional dan!sh 25-Oct-10 19:51 
GeneralRe: Linq to SQL Pin
Satish_S25-Oct-10 20:41
Satish_S25-Oct-10 20:41 
QuestionQuestions about ASPNETDB.MDF Pin
ibmkahm24-Oct-10 22:14
ibmkahm24-Oct-10 22:14 
AnswerRe: Questions about ASPNETDB.MDF Pin
kadaoui el mehdi27-Oct-10 3:41
kadaoui el mehdi27-Oct-10 3:41 
QuestionCan't figure out how to covnert this XML to XSL for a gridview Pin
Albert8324-Oct-10 19:01
Albert8324-Oct-10 19:01 
QuestionObjectDisposedException when using Response.Filter Pin
95ulisse24-Oct-10 5:06
95ulisse24-Oct-10 5:06 
QuestionWeb Service Complex Type returning Pin
Dirso23-Oct-10 13:06
Dirso23-Oct-10 13:06 
AnswerRe: Web Service Complex Type returning [modified] Pin
Karthik. A23-Oct-10 15:37
Karthik. A23-Oct-10 15:37 
1.

As far as I know, XML doesn't have a list concept. It's just plain text. So a List<t> is going to be returned as an array. However in the receiving end you could cast your T[] to List<t>


2.

You need XmlRoot and XmlInclude attributes in your WebMethod (for every user defined class - in your case for Order and Item). Refer these posts

http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlincludeattribute.aspx[^]

A forum discussion[^]
Cheers,
Karthik
modified on Sunday, October 24, 2010 11:00 AM

GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:16
Dirso26-Oct-10 9:16 
AnswerRe: Web Service Complex Type returning Pin
Keith Barrow23-Oct-10 21:56
professionalKeith Barrow23-Oct-10 21:56 
GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:17
Dirso26-Oct-10 9:17 
Questionweb service Pin
Any_India23-Oct-10 7:48
Any_India23-Oct-10 7:48 
AnswerRe: web service Pin
Keith Barrow23-Oct-10 8:02
professionalKeith Barrow23-Oct-10 8:02 
GeneralRe: web service Pin
Any_India23-Oct-10 8:23
Any_India23-Oct-10 8:23 
GeneralRe: web service Pin
Keith Barrow23-Oct-10 8:34
professionalKeith Barrow23-Oct-10 8:34 
Questionmulti language website Pin
Jassim Rahma23-Oct-10 3:34
Jassim Rahma23-Oct-10 3:34 
AnswerRe: multi language website PinPopular
Pete O'Hanlon23-Oct-10 4:36
mvePete O'Hanlon23-Oct-10 4:36 
AnswerRe: multi language website Pin
Keith Barrow23-Oct-10 6:36
professionalKeith Barrow23-Oct-10 6:36 
QuestionTab Order Pin
Dushan12323-Oct-10 3:29
Dushan12323-Oct-10 3:29 
Questionhow to select design patterns Pin
anoop_m8322-Oct-10 7:29
anoop_m8322-Oct-10 7:29 
AnswerRe: how to select design patterns Pin
T M Gray22-Oct-10 8:34
T M Gray22-Oct-10 8:34 
AnswerRe: how to select design patterns Pin
Brij22-Oct-10 8:41
mentorBrij22-Oct-10 8:41 
AnswerRe: how to select design patterns Pin
Keith Barrow22-Oct-10 10:18
professionalKeith Barrow22-Oct-10 10:18 
AnswerRe: how to select design patterns Pin
Pete O'Hanlon22-Oct-10 11:45
mvePete O'Hanlon22-Oct-10 11:45 
Questionhow to store arraylist in string??????????? Pin
srisairam22-Oct-10 0:37
srisairam22-Oct-10 0:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.