Database Reference
In-Depth Information
wsa: Element
Description
wsa:From
This property provides the source endpoint reference, and it indicates where the message came from.
This property provides the reply endpoint reference, and it indicates where the reply for the request mes-
sage should be sent. If not specified, the reply endpoint defaults to http://www.w3.org/2005/08/address-
ing/anonymous .
wsa:ReplyTo
wsa:RelatesTo
This property conveys the message ID of a related message along with the relationship type.
This property provides the fault endpoint reference. It indicates where the fault message should be sent to
if there is a fault. If this is not present, usually the fault will be sent back to the endpoint where the request
came from.
wsa:FaultTo
This property displays the action related to a message. For example, the wsa:Action property can be
used to identify the operation to be invoked upon receiving a request message. It must be provided in the
message addressing properties of a message.
wsa:Action
wsa:ReferenceParameters This property references parameters that need to be communicated.
WS-Addressing allows the sending of messages to the specific instance of a service,
which is not possible by WSDL concrete bindings alone. The SOAP request and response
implementation is as follows:
Request
Response
The code for request implementation is as follows:
The code for request implementation is as follows:
<soapenv:Envelope xmlns:soapenv ="http://www.w3.org/
2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing/">
<soapenv:Header>
<wsa:MessageID>
http://example.com/someuniquestring
</wsa:MessageID>
<wsa:ReplyTo> <wsa:Address>http://example.com/
Myclient</wsa:Address>
</wsa:ReplyTo>
<wsa:To>
http://example.com/fabrikam/Purchasing
</wsa:To>
<wsa:Action>
http://example.com/fabrikam/SubmitPO
</wsa:Action>
<soapenv:Header>
<soapenv:Body>
...
< soapenv:Envelope
xmlns:soapenv ="http://www.w3.org/
2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/
08/addressing">
<soapenv:Header>
<wsa:MessageID>http://example.com/
someotheruniquestring</wsa:MessageID>
<wsa:RelatesTo>http://example.com/
someuniquestring</wsa:RelatesTo>
<wsa:To>http://example.com/
MyClient/wsa:To>
<wsa:Action>
http://example.com/fabrikam/
SubmitPOAck
</wsa:Action>
</soapenv:Header>
Search WWH ::




Custom Search