Home > Articles > Programming > Java

  • Print
  • + Share This
This chapter is from the book

The SOAP Body

The SOAP Body g element immediately surrounds the information that is core to the SOAP message. All immediate children of the Body element are body entries (typically referred to as bodies). Bodies can contain arbitrary XML. Sometimes, based on the intent of the SOAP message, certain conventions govern the format of the SOAP body (for instance, we discuss the conventions for representing RPCs and communicating error information later).

When a node that identifies itself as the ultimate recipient (the service provider in the case of requests, or the client in the case of responses) receives a message, it's required to process the contents of the body and perform whatever actions are appropriate. The body carries the core of the SOAP message.

  • + Share This
  • 🔖 Save To Your Account