What are SOAP attribtutes

A client can use SOAP attributes to specify how SOAP messages should be processed.

SOAP attributes are generally used to specify the serialization rules to indicate the recipient of the Header element of the SOAP message.

Attributes also indicate whether or not the recipient should process certain header entries.


The mustUnderstand attribute states whether or not the SOAP processor should process the header information. The usage of this attribute is given below:

soap:mustUnderstand = "true"

After the mustUnderstand attribute is set to true, the SOAP toolkit needs to compulsorily process the statement. If the toolkit is unable to process the statement, it should return a fault code signifying that there was an error in interpreting the statement.

example 2:

The actor attribute of a SOAP message specifies URI to indicate who should receive the Header element of the SOAP message. If no URI is specified, it is assumed that the ultimate SOAP receiver should receive the SOAP message.

The actor attribute has the following syntax:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: