473,480 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can any one tell me when to use Soap formatter and when to use Xml formatter?

4 New Member
I m confusing about when to use Soap and when to use Xml Fornatter in .net. Can any one help me to solve this question??
Thank you..
Jan 7 '10 #1
2 1486
Frinavale
9,735 Recognized Expert Moderator Expert
A XFormatter class functionality for formatting serialized objects.

The SoapFormatter: serializes and deserializes an object, or an entire graph of connected objects, in SOAP format.

Apparently there isn't much of a description for the XMLFormatter. I would assume that the XMLFormatter serializes and deserializes XML objects and documents.

The XMLSerializer class serializes and deserializes objects into and from XML documents. The XmlSerializer enables you to control how objects are encoded into XML.

Even though SOAP is XML based, it is probably best to use the SoapFormatter when dealing with SOAP instead of using the XMLFormatter.

-Frinny
Jan 7 '10 #2
ajinkya7588
4 New Member
thanxxxxxxxx. U solved my confusion........
Jan 8 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2507
by: Christopher Pragash | last post by:
Hello All, Recently I had posted a message to forum requesting assistance to resolve a security issueI was facing in .NET Framework 1.1, the error being "Because of Security Restrictions, the...
2
2466
by: deba | last post by:
From the documentation of SOAP it seems SOAP supports both HTTP and TCP protocol.I did not find much documentation how to use TCP as transport layer in SOAP? Does the SOAP toolkit 2.0 supports...
0
1421
by: Aaron | last post by:
I am not sure the appropriate newsgroup for this question,...I have also posted this on the XML.SOAP foru Within a VB.NET application, I have two objects that are serializable. The second object...
8
6274
by: xmail123 | last post by:
Hi, As was pointed out whatever you return from a WebMethod needs to be serializable to SOAP. An ArrayList is not serializable. I will be needing to return other data types from web methods. ...
6
2401
by: Guest | last post by:
Hi, I unerstand that if you choose IIS to host your .Net Remotingcomponents with HTTP channel and SOAP formatter, you get thebuilt-in security and configuraion features of IIS. Also we canexpose it...
6
20211
by: john deviney | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I need to insert a soap header on the client side which is expected on the server side. Currently, the Java ws provider, Axis, does...
2
4307
by: Matthew Connor | last post by:
Hi all: I am new to VB.NET and I am trying to serialize a custom structure via a SOAP formatter. My Microsoft published Visual Basic .NET book says to use the following Imports statement: ...
13
1738
by: Jiho Han | last post by:
Here's the issue. You have a class, Class Person { public int id; public string firstname; public string lastname; }
2
3771
by: =?Utf-8?B?RFhSaWNr?= | last post by:
I have a class (UserAccount) that uses a List<Tto contain a collection of Account classes. The Account class uses a List<Tto contain a collection of the account items. If the Account class is a...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7044
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
6929
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4779
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4481
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.