[jbossws-dev] [Design of JBoss Web Services] - Re: Text nodes in SOAP messages

thomas.diesler@jboss.com do-not-reply at jboss.com
Wed Feb 7 03:10:34 EST 2007


SOAP-1.1 is also clear and does not allow text

http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383503
anonymous wrote : 
  | 4.3 SOAP Body
  | 
  | The SOAP Body element provides a simple mechanism for exchanging mandatory information intended for the ultimate recipient of the message. Typical uses of the Body element include marshalling RPC calls and error reporting.
  | 
  | The Body element is encoded as an immediate child element of the SOAP Envelope XML element. If a Header element is present then the Body element MUST immediately follow the Header element, otherwise it MUST be the first immediate child element of the Envelope element.
  | 
  | All immediate child elements of the Body element are called body entries and each body entry is encoded as an independent element within the SOAP Body element.
  | 
  | The encoding rules for body entries are as follows:
  | 
  |    1. A body entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. Immediate child elements of the SOAP Body element MAY be namespace-qualified.
  |    2. The SOAP encodingStyle attribute MAY be used to indicate the encoding style used for the body entries (see section 4.1.1). 
  | 
  | SOAP defines one body entry, which is the Fault entry used for reporting errors (see section 4.4).
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012304#4012304

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012304



More information about the jbossws-dev mailing list