Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7716999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:46:23+00:00 2026-06-01T02:46:23+00:00

I have been provided an XSD and a sample Xml file that contains the

  • 0

I have been provided an XSD and a sample Xml file that contains the results I will be getting.
I am to build a Web Service that accepts this data and enter into a SQL 2005 table. Each time my service is invoked, I am expecting 1200+ rows of data.

I have also been provided two Xml files, success.xml and failure.xml, that are responses I am to provide back to the caller?

I would like to build a WCF service on the .Net 4.0 framework with one ‘MethodToCall’. The other party would call this web service and pass in the data.

I used the SVCUTIL.exe file.xsd /dconly /importxmltypes to get an output.cs file.

Now what do I do?

How do I iterate through the rows to add to my table?
With so many rows, will I run into issues of having my service timeout or something?
Can I do the table insert/update in a batch after disconnecting from the wire?

Any sample or pseudo code would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:46:24+00:00Added an answer on June 1, 2026 at 2:46 am

    How do I iterate through the rows to add to my table?

    usually it generates classes using List for sequences in XSD, so you can iterate using foreach.

    With so many rows, will I run into issues of having my service timeout
    or something?

    There are settings of binding like

    <readerQuotas
    maxDepth="" 
    maxStringContentLength="" 
    maxArrayLength="" 
    maxBytesPerRead="" 
    maxNameTableCharCount="" />
    

    consider to increase its values.

    Can I do the table insert/update in a batch after disconnecting from
    the wire?

    Think again, do you really need it? You should send response to sender that data is successfully processed. But you are going to send the response before data is written to the database. It could cause problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been provided with an unmanaged C++ DLL that contains several classes. I
I have been provided with an xsd that I compiled to Java classes using
We have been using a web application framework to build apps that need to
I have been provided with a C++ DLL and associated header file in order
I'm developing an iPad application. I have been provided with a PNG image that
I'm having issues unmarshalling XML that has been validated against a schema. I have
I have a web-app that will reside on a production server where I want
We have a desktop application, which has been provided a web UI by hosting
We have been provided with a wsdl and xsd schema by a company we
I know that similar questions have been asked before but the provided answers don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.