Remember Me
forgot your password?

Web Services And Soap

When given any XML parser, such as a Microsoft’s XML DOM component, anyone can pass a function name embedded into an XML message. Therefore, you do not need SOAP or any formal protocol around XML Web services to accomplish this. The designers of such a system could provide a specification for the outlay of the function parameters and even return XML after the function is called if they wanted. Standard XML Web services just make it easier. SOAP simply standardizes this type of RPC mechanism. SOAP is the communication protocol used by XML Web services. Is SOAP required? No. Is it recommended? Yes. Only because SOAP provides a standardized means of describing the data elements that make up the messages sent to SOAP servers, including .NET servers hosting Web services. Along with WSDL and UDDI, SOAP is another element in the distributed arm of .NET and the Web services it hosts. Besides being a mechanism for invoking RPCs, it can also be used as a wrapper around entire XML documents or binary data, as is the case with the DIME protocol from Microsoft. This greatly expands what can be done with this protocol and will continue to expand as XML Web services evolve.

As mentioned, when using Web services, SOAP is not the only protocol that can be used to call Web services. For example, a simple HTTP GET request can be made as long as it is passing and receiving simple data types, such as strings. However, when you begin to work with more complex types, such as ADO Datasets, it becomes necessary to use a protocol such as SOAP and more specifically, XML schemas to describe such data as referenced in the SOAP message. SOAP was designed for simplicity and elegance, and it does not do some of things you might expect. Some of the elements not covered (at this time) are:

  1. Message batching - You must create your means of batching messages/functions calls.
  2. Distributed garbage collection - There are no means of telling the server that the client has suddenly disappeared.
  3. Object references - Holding state from the client and server is an implementation-specific issue.
  4. Reliability protocols - This really lies at the application protocol level and can be designed into your application, especially if HTTP is being used as the communication protocol.

SOAP currently does not outline these specific elements like other remote protocols, such as DCOM and CORBA. But it does what it was intended to do—provide us with a simple, standard specification to drive the description of the data types and methods for using and producing Web services. It is important to note, however, that a SOAP “message” only specifies the XML format for the package sent across the wire. As long as you have a well-formed XML document encapsulated in the necessary SOAP tags, you have a valid SOAP message. Any compliant SOAP implementation on the server should understand the request and should service it. In fact, although the default application protocol for SOAP is HTTP, it does not require it. That’s the simplicity of it. Other protocols, such as SMTP, FTP, and even asynchronous messaging protocols, will soon be supported. Because HTTP is the Internet protocol, it is also the default for SOAP. This is why when you hear about XML Web services, it is usually assumed that there will be a one-to-one correspondence with both SOAP and HTTP.

To truly understand SOAP, you first have to understand a few basic elements of the language that makes up a SOAP message. Once again, that language is XML. Most interaction with SOAP usually takes place through a toolkit or service of some kind. For example, the Microsoft SOAP Toolkit (Java has its own) hides the exact format of a SOAP message by providing high-level programmatic client objects to use. These clients provide the code to serialize, de-serialize, send, and receive SOAP messages to and from a corresponding SOAP server, such as a .NET Web service. This simplifies developers’ lives but it also shelters them from understanding the format in which their messages are bundled. Knowing such details will help your debugging and designing efforts in the future and it is recommended that you become at least slightly acquainted with such details.

 

Kamlesh Patel

Spec-India is Software Development Company that offers Mobile Software Application Development, ASP.Net Application Development, HandHeld Computer System Development, Outsourcing Software Development and ASP.Net Framework Application Development.

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Software Articles
  • More from Kamlesh Patel

Software Solution Company: Try Out UK for the Best Services

By: Arun Kumar | 16/12/2009
There is hardly any person who doesn’t know about software today. Software are those bunch of encoded instructions that help users make the most out of their endeavors using them. For every purpose, software are now available. And just by using them in the work environment, businesses can minimize cost on labor and thus maximize profit.

Software Solution Company: Try Out UK for the Best Services

By: Arun Kumar | 16/12/2009
There is hardly any person who doesn’t know about software today. Software are those bunch of encoded instructions that help users make the most out of their endeavors using them. For every purpose, software are now available. And just by using them in the work environment, businesses can minimize cost on labor and thus maximize profit.

Make amazing Video with Chroma key video

By: Angel Wood | 16/12/2009
Modern technology has brought tremendous advancement in photography. The digital photography is an outcome of modern technology. A photographer can edit pictures and video expediently and spontaneously.

Slow Computer Free Fix - How to Fix Your Slow Computer for Free?

By: Alex | 16/12/2009
Is your computer running extremely slow? If you are having a slow computer while you have no plan to purchase a new one but want to speed it up, this is the right article for you to free fix your slow computer. It doesn't matter what operating system is running on your computer. You can follow the 4 tips to free fix your slow computer instantly.

Flash Chart Represents ChristmasGifts Survey Results

By: Jessy Brown | 16/12/2009
RichchartLive is a free online tool that can create enjoyable and impressive flash charts with attractive visuals and interactivities. Here we discuss how to make ChristmasGifts Survey

Gumblar Malware Active Again!

By: Angeline Mabute | 16/12/2009
Gumblar is active again! Gumblar has crashed thousands of blogs and websites like Wordpress, Drupal, Joomla and other PHP-based sites.

Some Details On Backup Software

By: Dmytro Fedosyeyev | 15/12/2009
Backup software is a computer application that enables the user of the computer to replicate the data that they have saved in the computer and the replica is saved on a different location from the original work. This replica is retrievable if the original copy is lost, attacked by a virus or rendered useless in any other way.

Document Management Software – Advanced Content Management

By: Alter Sage | 15/12/2009
Enterprise document management solutions are a viable method for ensuring that loose, paper-based data is easily accessible, spatially economic and not under threat of damage.

Basics of Serialization and its Type

By: Kamlesh Patel | 16/11/2009 | Programming
Serialization is the process of encoding an object or class into a persistent or transportable state. This allows you to take a complex data type, then encode, save, transfer, and decode it, with the possibility that a separate process handles the decoding.

Java Mapping concepts Understanding

By: Kamlesh Patel | 21/10/2009 | Software
Mapping is the way of transforming one XML structure to another XML Structure. As a part of it we do certain operations like breaking child nodes and attaching them to its parent node and more in an XML structure.

Introduction of GPRS network Elements

By: Kamlesh Patel | 18/09/2009 | Programming
GPRS (General Packet Radio Service) represents an evolution of the GSM standard, allowing data transmission in packet mode and providing higher throughputs as compared with the circuit-switched mode.

Software Metrics and its Applications

By: Kamlesh Patel | 18/08/2009 | Programming
Software Metrics is all about measurement which in turn involves numbers; the use of numbers to make things better, to improve the process of developing software and to improve all aspects of the management of that process.

What is application concurrency?

By: Kamlesh Patel | 17/07/2009 | Programming
In a multi-user system or application, concurrency is a major issue that the development team must address. Concurrency, in the context of a software application, is the handling of multiple users attempting to access the same data at the same time.

Recommended Technologies by SAP for Integration

By: Kamlesh Patel | 16/06/2009 | Software
Seamless integration across business applications has always been a critical area of interest for any organization. The criticality of application integration is obvious from the fact that this is often a critical factor in purchase decision making.

Goals of an Enterprise Architecture (J2EE)

By: Kamlesh Patel | 17/05/2009 | Programming
Enterprise software is important to an organization. Its users expect it to be reliable and bug-free. Hence we must understand and take advantage of those parts of J2EE that can help us build robust solutions and must ensure that we write quality code.

Some Important Features of SOAP

By: Kamlesh Patel | 16/04/2009 | Information Technology
The SOAP standard contains the information for how the messages should be sent, the format the XML appears in, the different primitive types supposed, the roles different pieces of software take during the transmission of the SOAP documents, and the type of transports available, such as HTTP.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.24, 1, w1)