DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    16

    How to create a webservice

    Hi Guys

    I need to create a webservice which works in the back ground.

    I have an XML file which has nearly 10000 records.

    I need to dump the elements in this xml file to database every one hour.

    For this I want to create a webservice which works in the back ground executes itself

    every one hour on its own to transfer the data in the xml file to database.

    I am a newbee. Any suggestions will be appreciated.

    If you can provide some code that will be great.

    My project is running on Asp.net1.1 anc C# , and Database is Sqlserver2005.

    Thanks in advance

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Web services aren't really designed to "execute themselves." They work like Web sites: they receive a request for some data and return it via http. Why not simply create a console application and schedule it to run as a Windows scheduled task?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Nov 2007
    Posts
    16
    Hi Phil

    Thanks for your suggestion.
    Is it possible to get some code example for console application.
    I never created console applications before.

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Quote Originally Posted by ken_rgr
    Is it possible to get some code example for console application.
    From MSDN
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Oct 2004
    Location
    Bangalore, India
    Posts
    47

    Good resource for ASp.Net web services

    Hi,

    how to create web services in asp.net

Similar Threads

  1. Attn: Daniel Reber
    By joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:25 PM
  2. Re: (No subject)
    By Joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:13 PM
  3. Can't create a PARADOX file and insert records using ODBC
    By Steve Oliver in forum VB Classic
    Replies: 0
    Last Post: 07-26-2002, 12:30 PM
  4. Replies: 0
    Last Post: 07-25-2002, 04:29 PM
  5. Create Constraint Primary Key
    By M Gunawan in forum VB Classic
    Replies: 1
    Last Post: 06-13-2001, 09:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links