Results 1 to 8 of 8

Thread: XML WebService to Update remote SQL server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Sri Lanka
    Posts
    12

    XML WebService to Update remote SQL server

    Hi,

    Pl can any one help me with a sample explanation for a XML Web Service which updates a SQL sever in a remote location??????

    Thanx

  2. #2
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: XML WebService to Update remote SQL server

    You can pass dataset over a webservice so i'd recommend doing this.
    Let the webservice look after inserting the data in SQL Server
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Sri Lanka
    Posts
    12

    Re: XML WebService to Update remote SQL server

    Can you please exlain how do do this pl?

  4. #4
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: XML WebService to Update remote SQL server

    Have a look at this link http://samples.gotdotnet.com/quickst...icesintro.aspx
    to learn how to create Web Services, it will show you how to do a few simple ones

    Then in your smart device application solution, in the solution explorer select the reference option and right click on it. Then select add web reference. Enter the URL of your web service and it will display all the methods of the web service
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Sri Lanka
    Posts
    12

    Re: XML WebService to Update remote SQL server

    Thanx Strider,

    Can you please tell me how to create a .xsd file form a .xml file?

  6. #6
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: XML WebService to Update remote SQL server

    why do you need to create an xsd file?
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  7. #7

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Sri Lanka
    Posts
    12

    Re: XML WebService to Update remote SQL server

    Hey Barry,
    Sorry for not replying all this time.
    Its simply this.............Im kind of new to mobile deveopment. I want to Access a Remote SQL server and Update cetain tables from a Windows CE handheld (Wireless Networks). I have heard this can be done through XML web services. Can u help me please?............................

  8. #8
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: XML WebService to Update remote SQL server

    This can be done several ways.

    1.Remote Data Access (http://www.ondotnet.com/pub/a/dotnet...20.html?page=1)
    2.Replication (http://msdn.microsoft.com/msdnmag/is...09/DataPoints/)
    3.Connecting Directly to the SQL Server from the device (by using SQLClient on the device, is exactly the same as connecting to SQL Server in normal vb.net)
    4.Via a Webservice as you mention

    So i'd recommend you have a look at all these options and see what best suits your needs
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width