473,382 Members | 1,657 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have read
the xmlserializer is better, more flexible and faster (analyzing data types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small string
.... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr


Nov 12 '05 #1
2 6272
Jarda,

Did you take a look at my write up at:

http://weblogs.asp.net/cschittko/articles/44277.aspx

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Jarda [mailto:ja***@sh.cvut.cz]
Posted At: Thursday, September 23, 2004 11:23 AM
Posted To: microsoft.public.dotnet.xml
Conversation: soapformatter vs xmlserializer
Subject: soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have read
the xmlserializer is better, more flexible and faster (analyzing data
types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small
string
... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr

Nov 12 '05 #2
Re: soapformatter vs xmlserializerYes, I' ve read it, but I need some concrete values some charts, table of measured values ... Do you have any?

Thanks.
"Christoph Schittko [MVP]" <IN**********@austin.rr.com> píse v diskusním príspevku news:OY**************@TK2MSFTNGP11.phx.gbl...
Jarda,

Did you take a look at my write up at:

http://weblogs.asp.net/cschittko/articles/44277.aspx

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko
-----Original Message-----
From: Jarda [mailto:ja***@sh.cvut.cz]
Posted At: Thursday, September 23, 2004 11:23 AM
Posted To: microsoft.public.dotnet.xml
Conversation: soapformatter vs xmlserializer
Subject: soapformatter vs xmlserializer

Hi all, i'm looking for some performance comparison some charts. I have
read
the xmlserializer is better, more flexible and faster (analyzing data
types
in constructor), but there are some limitation (i.e. public members).
SoapFormatter is better to serialize arbitrary data.
I have done some tests and SoapFormatter is faster 5 times than
XmlSerializer. I don't undestand it, I have tried large arrays, small
string
... the result seems the same - soapformatter is better.

Any idea???

Thank's Petr



Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James Willock | last post by:
Hi, I have a class derived from ApplicationException as below (excuse formatting): public class MyException : ApplicationException { public string CompanyName { get {return...
2
by: Wiktor Zychla | last post by:
After signing all my assemblies with strong keys, I've found that the application refuses to deserialize any SOAP serialized data. The message says: Parse error, no assembly associated with the...
0
by: cmrchs | last post by:
Hi, XmlSerializer can serialize data to a file, but SoapFormatter can do the same except that the serialized data in the file is not proper Xml : for instance there is no XmlRoot-element. Why...
2
by: Paul | last post by:
We currently persist our objects to xml/soap files using a SoapFormatter. We control the serialization and de-serialization by implementing the ISerializable and its two interface methods, namely,...
1
by: Jim S | last post by:
I have an application where I have to make a tree of objects. To do this, I have my own node class. At certain points in the application, I need to save data. I am having a problem with the...
2
by: Phillip Galey | last post by:
I have an object called Place which contains only string properties and has the <Serializable()> flag before the class name declaration. I also have a collection object called Places, which is...
0
by: JackRazz | last post by:
I'm trying to serialize a collection to a file stream by serializing each object individually. The code below works fine with the BinaryFormatter, but the SoapFormatter reads the first object and...
5
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
Hi there. I posted an earlier issue under the name "That assembly does not allow partially trusted callers" but have now identified what the issue is. As explained before I am working in...
0
by: =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_kno | last post by:
Hello. I have found out that a VS2005 WebService by default serializes my objects using normal XmlSerializer. Howerver, I need it to serialize them using SoapFormatter by default (without doing the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.