top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Describe the SOAP actor attribute ?

+4 votes
388 views
Describe the SOAP actor attribute ?
posted Jan 11, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The actor Attribute
A SOAP message may travel from a sender to a receiver by passing different endpoints along the message path. However, not all parts of a SOAP message may be intended for the ultimate endpoint, instead, it may be intended for one or more of the endpoints on the message path.
The SOAP actor attribute is used to address the Header element to a specific endpoint.

Syntax
soap:actor="URI"
Example

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.www.org/2010/12/soap-envelope"
soap:encodingStyle="http://www.www.org/2010/12//soap-encoding">

<soap:Header>
<m:Trans xmlns:m="http://www.www.org/2010/12/transaction/"
soap:actor="http://www.www.org/2010/12/appml/">234
</m:Trans>
</soap:Header>
...
...
</soap:Envelope>
answer Jan 11, 2014 by Vikas Upadhyay
...