Site Search:
Sign in | Join | Help

econnect custom XML nodes

Last post 10-02-2008 1:03 AM by Jeganeedhi. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 08-24-2008 10:49 AM

    econnect custom XML nodes

    I haved done some transaction by creating custom xml node in econnect and by creating custom stored procdure.

    Every thing is working fine. BUt i just want to get the confirmation .

    1) Is there any limit for the number of node in a single XML document which is send to entryPoint .

     

    Please help me

     

    • 212.71.32.95
  • 08-25-2008 12:07 PM In reply to

    Re: econnect custom XML nodes

    Not in the documentation, but there are a few people that have posted to this forum that they had trouble with docs that had a bunch of transactions in them. I recommend that you send them one at a time. Besides, how are you going to handle errors if you don't? You might have a situation where you send 100 documents, number 99 fails, and the whole thing rolls back. Then you gotta figure out the error and re-submit??.

     No way. One at a time.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.135.32
  • 08-26-2008 6:32 AM In reply to

    Re: econnect custom XML nodes

    Thanks Steve. This is what I want to know. If I send one document at a time, how can I use the Entry Point function? Can i use it in a for loop and if any document fial , it will roll back the whole?
    • 212.71.32.95
  • 08-26-2008 8:37 AM In reply to

    Re: econnect custom XML nodes

    In VB, I loop through the data and make one call to Entry Point per doc. Handle any errors (log, email, whatever) and move on to the next doc. If Dynamics doesn't throw an error, the doc is good.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.135.32
  • 10-01-2008 6:34 AM In reply to

    Re: econnect custom XML nodes

    hi

     If I import the 100+ records through econnect (one call to Entry Point per doc) ,It will take more time.

    What s the solution for that case?

    Regards

    Jeganee

    • 125.17.132.2
  • 10-01-2008 9:08 AM In reply to

    Re: econnect custom XML nodes

    I don't think it's going to take as long as you think. eConnect has been tested for some very heavy workloads. 100 transactions is just a drop in the bucket.

    Create 100 test transactions and send them in, time how long it takes. Let me know.

    Besides, what other way is there? If you create one XML doc with all 100 transactions (which is possible) and one of them gets an error, what are you going to do? How will you know which one caused the error? You'll have to parse the error message and figure it out - that's bad mojo.

    Trust me. One transaction at a time.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.135.32
  • 10-02-2008 1:03 AM In reply to

    Re: econnect custom XML nodes

    ya..I agree eConnect has been tested for heavy loads.But In 100+ records definately it will take som more time (doc per entry point ) compared all of them in singly entry point.

    Generally,"Serialization" and "entry point" will consume the time in econnect.In 100+ times of serialization definately take more time .It may be take speed in server but in client it will take more time.

    I have geneated POPEnterMatchInvoice schema  .It takes 45 sec per document,I also processed 1023 records in same time in single entery point .

    Before processing I will take all validations and  skip the error possible records.May be error occured we can seen in error log which contail the all in formation about the error record.

     

     

    • 125.17.132.2
Page 1 of 1 (7 items)