The encodingStyle Atrribute
  • The encodingStyle attribute specifies the rules that define how data is represented in a SOAP message.
  • The syntax for the encodingStyle attribute is: encodingStyle="namespaceURI"

where the SOAP specification suggests that the namespaceURI should be http://www.w3.org/2001/12/soap-encoding. This namespaceURI points to the XML schema that defines the encoding rules for a SOAP message.

<?xml version="1.0"?>

<Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" encodingStyle="http://www.w3.org/2001/12/soap-encoding">

  <Header>
    ...
    ...
  </Header>

  <Body>
    ...
    ...
    <Fault>
      ...
      ...
    </Fault>
  </Body>

</Envelope>

Click the Next button to continue.