Strong Coders Community

Where the extreme coders hang out.
Welcome to Strong Coders Community Sign in | Join | Help Messenger
in Search
Strong Coders Community » ASP.NET / .NET Framework » .NET Framework General Discuss... » Re: How to pass typed dataset from web service to windows client

How to pass typed dataset from web service to windows client

Last post 02-02-2007, 7:14 AM by JamesCurran . 1 replies.
Sort Posts: Previous Next
  •  02-02-2007, 2:07 AM 1702
    • manishbafna is not online. Last active: 02-09-2007, 3:26 AM manishbafna
    • Top 10 Contributor
      Male
    • Joined on 10-18-2006
    • India
    • Posts 48
    • Points 800

    How to pass typed dataset from web service to windows client

    Hi,

    I have read that it is good programming practice to pass typed dataset in 3-tier architecture.Now i have web serice in which i want through data access class to return typed dataset to windows client.I have googled a lot but i was not able to find complete working example.I am confused as to how  xsd will be constructed from wsdl so that typed dataset is again reconstructed at windows client.I have just brief idea that this can be done but i am not able to write complete working code for it.Any help would be highly appreciated.

    Thanks in advance for replying.(as always)

    Regards,

    Manish Bafna.

    MCP and MCTS.

     

    • Post Points: 20
    • Alert the moderators
  •  02-02-2007, 7:14 AM 1706 in reply to 1702
    • JamesCurran is not online. Last active: Feb 11, 2007, 11:18 AM JamesCurran
    • Top 10 Contributor
      Male
    • Joined on 11-01-2006
    • Bloomfield, NJ, USA
    • Posts 82
    • Points 1,015
    • StrongCoders

    Re: How to pass typed dataset from web service to windows client

    Well, the simple answer is to just create a webservice that returns a typed data set, then use VisualStudio's "Add Web Reference" wizard, and let it deal with the details.
    Truth,
    James
    • Post Points: 5
    • Alert the moderators

Powered by Community Server (Commercial Edition), by Telligent Systems