1 encodingStyle attribute?

According to the WS-I Basic Profile 1.0a, what is true about the SOAP 1.1 encodingStyle attribute?

According to the WS-I Basic Profile 1.0a, what is true about the SOAP 1.1 encodingStyle attribute?

A.
It can occur anywhere in a message.

B.
It can only be declared on children Header elements.

C.
It can be declared on any children of the Body elements of rpc-literal messages.

D.
It cannot be used with elements qualified by the http://schemas.xmlsoap.org/soap/envelope namespace.

E.
WS-I Basic Profile 1.1 does NOT give any guidance because encodingStyle is a SOAP 1.1 attribute.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Mohamed Fayek Saber

Mohamed Fayek Saber

https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383495

SOAP encodingStyle Attribute :

The SOAP encodingStyle global attribute can be used to indicate the serialization rules used in a SOAP message. This attribute MAY appear on any element, and is scoped to that element’s contents and all child elements not themselves containing such an attribute, much as an XML namespace declaration is scoped. There is no default encoding defined for a SOAP message.

The attribute value is an ordered list of one or more URIs identifying the serialization rule or rules that can be used to deserialize the SOAP message indicated in the order of most specific to least specific. Examples of values are

“http://schemas.xmlsoap.org/soap/encoding/”
“http://my.host/encoding/restricted http://my.host/encoding/
“”

The serialization rules defined by SOAP in section 5 are identified by the URI “http://schemas.xmlsoap.org/soap/encoding/”. Messages using this particular serialization SHOULD indicate this using the SOAP encodingStyle attribute. In addition, all URIs syntactically beginning with “http://schemas.xmlsoap.org/soap/encoding/” indicate conformance with the SOAP encoding rules defined in section 5 (though with potentially tighter rules added).

A value of the zero-length URI (“”) explicitly indicates that no claims are made for the encoding style of contained elements. This can be used to turn off any claims from containing elements.