Re: Beginner with Questions re: WPF, WCF, LINQ



Steve Gerrard wrote:
Dave wrote:
OK I am starting to understand. Basically the service does return XML
but the frontend will create a data object from the XML automagically.

Now I need to find a good tutorial on all this stuff.

Thanks again for clearing this up for me.

Just to reiterate, a web service can return a DataSet. It will actually be XML data, following Microsoft's diffgram XML schema, but for all intents and purposes, it is a dataset.

The client can call the method that returns a dataset, perhaps passing some parameter values, and assign the return value to a dataset variable. As you put it, all the xml processing happens automagically.

It can be a bit bulky for returning many rows, since the column names will be repeated twice for each row in the actual XML, but it works very smoothly.

I would not use a DataSet for a web service. It will not be consumable
from non-.NET clients.

Arne
.



Relevant Pages

  • Re: commonj.sdo.DataObject
    ... I have a data object that contains XML and I need to just ... Is it a Java object? ... I'm new to java so please bare with me. ...
    (comp.lang.java.programmer)
  • Re: commonj.sdo.DataObject
    ... I have a data object that contains XML and I need to just ... that method to set/update XML and return your data object... ... Is it XML string? ...
    (comp.lang.java.programmer)
  • TXMLDocument and TTreeView
    ... contents of an XML file. ... again by accessing the Data object, but I can't work out how to do it. ... iNode:= tn.Data^ as IXMLNode; ... I guess this is something to do with the fact that IXMLNode is an ...
    (alt.comp.lang.borland-delphi)
  • Re: Beginner with Questions re: WPF, WCF, LINQ
    ... Dave wrote: ... but the frontend will create a data object from the XML automagically. ... It will actually be XML ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: how to export view to display - xml with specific xsd?
    ... Also xp_cmdshell runs on the server, ... SQL Server to a file and open the file in Word on the client machine. ... It opens up a ... XML to be generated in a Word-specific XML format. ...
    (microsoft.public.sqlserver.xml)