SOAP Message Recipients

Soap using namespace features a special quality of ‘soap-envelope “for the process be extended in the title element to be determined. The most important properties of the mustUnderstand. By default, there is no safe elements in the head element of SOAP message recipients can be ignored if mustUnderstand is properties to “true” (or “1″ that the value will only be recognized in SOAP 1.1). It would be a good example in terms of safety signs that the message sender / applicant is certified. If for any reason the recipient can not be deported elements of the process, the error must be provided to the sender with an error code mustUnderstand.
Since the soap to be used in networks with various agents (soap “node”, as identified functions <node>) designed to also define the role of the special features of intermediate XML should be a specific topic and present element method can be used to indicates that the element should be forwarded to another node if it is not when processed.

The SOAP body contains the “payload” of the message, which is defined by the WSDL’s <Message> part. If there is an error that needs to be transmitted back to the sender, a single <Fault> element is used as a child of the <Body>.

The <Fault> is the standard element for error handling. When present, it is the only child element of the SOAP <Body>. The structure of a fault looks like:

<env:Fault xmlns:m="http://www.example.org/timeouts">
   <env:Code>
     <env:Value>env:Sender</env:Value>
     <env:Subcode>
      <env:Value>m:MessageTimeout</env:Value>
     </env:Subcode>
   </env:Code>
   <env:Reason>
     <env:Text xml:lang="en">Sender Timeout</env:Text>
   </env:Reason>
   <env:Detail>
     <m:MaxTime>P5M</m:MaxTime>
   </env:Detail>
</env:Fault>

Here, only the <Code> and <Reason> child elements are required, and the <Subcode> child of <Code> is also optional. The body of the Code/Value element is a fixed enumeration with the values:

  • VersionMismatch: this indicates that the node that “threw” the fault found an invalid element in the SOAP envelope, either an incorrect namespace, incorrect local name, or both.
  • MustUnderstand: as discussed above, this code indicates that a header element with the attribute mustUnderstand="true" could not be processed by the node throwing the fault. A NotUnderstood header block should be provided to detail all of the elements in the original message which were not understood.
  • DataEncodingUnknown: the data encoding specified in the envelope’s encodingSytle attribute is not supported by the node throwing the fault.
  • Sender: This is a “catch-all” code indicating that the message sent was not correctly formed or did not have the appropriate information to succeed.
  • Receiver: Another “catch-all” code indicating that the message could not be processed for reasons attributable to the processing of the message rather than to the contents of the message itself.

Subcodes, however, are not restricted and are application-defined; these will commonly be defined when the fault code is Sender or Receiver. The <Reason> element is there to provide a human-readable explanation of the fault. The optional <Detail> element is there to provide additional information about the fault, such as (in the example above) the timeout value. <Fault> also has optional children <Node> and <Role>, indicating which node threw the fault and the role that the node was operating in (see role attribute above) respectively.

SOAP Has Become The Standard For The Exchange Of XML

Language options, such as CORBA and DCOM middleware Techologies first time. The first appearance in public was a public project on the Internet (IETF) in 1999, shortly after, in December 1999, the SOAP 1.0. In May 2000, the W3C version 1.1, where it is a cornerstone of Web services technologies are emerging. The current version 1.2, completed in 2005.
In addition to the XML Schema and WSDL, SOAP has become the standard for the exchange of XML messages. SOAP designed from the ground up to be extensible so that other standards can be integrated into it – and there are many called, often referred to together as WAS-* WAS-Addressing, WAS-Policy WAS, WAS-Security , WAS-Federation,-ReliableMessaging, go-Coordination WAS, WAS-Atomic, WAS-RemotePortlets, and the list goes on. So many of the perceived complexity of soap, as in Java, from the development standards of many that are about winning. Care should be taken that is causing such a lot of other things, only what you need really.

SOAP Is A Protocol For Exchanging Information

SOAP stands for Simple Object Access Protocol. SOAP is a protocol for exchanging information with the decentralized and distributed. SOAP is built using the HTTP communication protocol. Because HTTP is supported by all browsers and servers, then the SOAP can communicate with a variety of applications despite differences in operating systems, technologies, and programming languages??.
Role of SOAP in web service technology is a packaging protocol for messages (messages) that is shared by applications users. Specification used is not more like a regular envelope for XML-based information is transferred, as well as a set of rules for translational applications and data types into the form of platform-specific XML. Design the form of SOAP makes it suitable for a variety of message exchange on the application.
SOAP message
A SOAP message is an XML document that contains the following elements:
• Envelope element that identifies the XML document as a SOAP message.
• header element that contains header information. This element is optional.
• Body element that contains call and response information.
• Fault element that contains the error messages that occur during the process. This element is optional.

NuSOAP
NuSOAP is a library that is used for building SOAP based web services written using the PHP language. NuSOAP written by Dietrich Ayala with the initial project named SOAPx4. Later he hired NuSphere to continue to develop the project and named NuSOAP.
In building a web service-based application system, it takes two main components namely, the server as the provider entity and the client as a requester entity. For example, below are two listing programs on the server side and client side.