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 276221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:53:10+00:00 2026-05-12T00:53:10+00:00

I have a long xml file the content of the file are below: <?xml

  • 0

I have a long xml file the content of the file are below:

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
        <a:Action s:mustUnderstand="1">http://example.org/person</a:Action>
    </s:Header>
    <s:Body>
        <OrderDataBDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.datacontract.org/2004/07/BasWare.OM.BusinessDataObjects">
            <selected i:type="x:boolean" xmlns="">false</selected>
            <isSaved i:type="x:boolean" xmlns="">false</isSaved>
            <metadata i:nil="true" xmlns=""/>
            <hasUnsavedValues i:type="x:boolean" xmlns="">false</hasUnsavedValues>
            <hasChanged i:type="x:boolean" xmlns="">false</hasChanged>
            <defaultResourceId i:type="x:string" xmlns="">BWRc.OM.BUSINESSOBJECTS.ORDERDATABDO.ORDER_DATA</defaultResourceId>
            <_x0031_ xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:ADate" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
                <_x0034_ i:nil="true"/>
                <_x0035_ i:type="x:boolean">true</_x0035_>
                <_x0036_ i:type="x:dateTime">1753-01-01T12:00:00</_x0036_>
                <_x0037_ i:type="x:string">d</_x0037_>
                <_x0038_ i:type="x:string">ActualDeliveryDate</_x0038_>
            </_x0031_>
            <_x0032_ xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:AString" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
                <_x0034_ i:nil="true"/>
                <_x0035_ i:type="x:boolean">true</_x0035_>
                <_x0036_ i:type="x:string"/>
                <_x0037_ i:nil="true"/>
                <_x0038_ i:type="x:string">BuyerCode</_x0038_>
            </_x0032_>
            <_x0033_ xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:AID" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
                <_x0034_ i:nil="true"/>
                <_x0035_ i:type="x:boolean">true</_x0035_>
                <_x0036_ i:type="x:string"/>
                <_x0037_ i:nil="true"/>
                <_x0038_ i:type="x:string">BuyerId</_x0038_>
            </_x0033_>
            <!--etc-->
            <_x0034_6 xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:AMoney" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
                <_x0034_ i:nil="true"/>
                <_x0035_ i:type="x:boolean">true</_x0035_>
                <_x0036_ i:type="x:decimal">0</_x0036_>
                <_x0037_ i:type="x:string">N2</_x0037_>
                <_x0038_ i:type="x:string">TaxSum</_x0038_>
            </_x0034_6>
            <_x0034_7 xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:AString" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
                <_x0034_ i:nil="true"/>
                <_x0035_ i:type="x:boolean">true</_x0035_>
                <_x0036_ i:type="x:string"/>
                <_x0037_ i:nil="true"/>
                <_x0038_ i:type="x:string">Text1</_x0038_>
            </_x0034_7>
            <_x0034_8 xmlns:d4p1="http://schemas.datacontract.org/2004/07/BasWare.ProductFramework.BDOFramework" i:type="d4p1:AString" xmlns="">
                <_x0031_ i:type="x:boolean">false</_x0031_>
                <_x0032_ i:type="x:boolean">false</_x0032_>
                <_x0033_ i:type="x:boolean">false</_x0033_>
            </_x0034_8>
        </OrderDataBDO>
    </s:Body>
</s:Envelope>
  • 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-05-12T00:53:11+00:00Added an answer on May 12, 2026 at 12:53 am

    You need to set various of your settings – play around with the values, and see which work.

    First, use whatever binding you’re using and tweak the <readerQuotas> (maxStringContentLength, maxArrayLength, maxNameTableCharCount) – if that works, fine!

      <system.serviceModel>
        <bindings>
          <wsHttpBinding>
            <binding name="LargeMessages">
              <readerQuotas maxDepth="32"
                maxStringContentLength="2147483647"
                maxArrayLength="2147483647"
                maxBytesPerRead="4096"
                maxNameTableCharCount="2147483647" />
            </binding>
          </wsHttpBinding>
        </bindings>
      </system.serviceModel>
    

    If that doesn’t solve your problem, you’ll need to create your own custom binding in config, and set the limits on the message level as well – something like this:

      <system.serviceModel>
        <bindings>
          <customBinding>
            <binding name="ExtraLargeMessages">
              <textMessageEncoding>
                <readerQuotas maxDepth="32"
                  maxStringContentLength="2147483647"
                  maxArrayLength="2147483647"
                  maxBytesPerRead="4096"
                  maxNameTableCharCount="2147483647" />
              </textMessageEncoding> 
              <httpsTransport 
                  maxBufferPoolSize="1048576"
                  maxReceivedMessageSize="1048576"
                  maxBufferSize="1048576"/>
            </binding>
          </customBinding>
        </bindings>
      </system.serviceModel>
    

    Hope this helps.

    Marc

    UPDATE:
    I would tryto add this behavior to your service, and then call the method again.

      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="DetailedDebug" >
              <serviceDebug includeExceptionDetailInFaults="true"/>
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <services>
          <service name="yourService" behaviorConfiguration="DetailedDebug">
            .....
          </service>
        </services>
      </system.serviceModel>
    

    You should now get detailed exception info on your client – can you tell us what it is?? Maybe it’s something totally different…….

    Marc

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

Sidebar

Related Questions

I have an XML file that is very long, but here is a shot
I have long HTTP request ( generating large Excel file - about 60K records
I have a xml file content as string in my servlet, I need to
I have defined a dp dimension in my XML file like so: <?xml version=1.0
Has anyone had this problem? My projects tend to have some long XML files
How long have the MySQL XML functions like ExtractValue() and UpdateXML() been supported? A
I have long file with the following list: /drivers/isdn/hardware/eicon/message.c//add_b1() /drivers/media/video/saa7134/saa7134-dvb.c//dvb_init() /sound/pci/ac97/ac97_codec.c//snd_ac97_mixer_build() /drivers/s390/char/tape_34xx.c//tape_34xx_unit_check() (PROBLEM)/drivers/video/sis/init301.c//SiS_GetCRT2Data301() /drivers/scsi/sg.c//sg_ioctl()
I have a 150 MB XML file which is used as DB in my
I have this very huge XML file of size 2.8GB. This is Polish Wikipedia's
I have one custom ListView called AreasListView which I've included in the XML file.

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.