If WS-Addressing is enabled the address of To EPR (Endpoint Reference) and Action element
With the example above, Axis2 will determine the SOAP operation with the following:
Info
Value
HTTP request uri
/myservice
SOAPAction
urn:HeartBeat
QName of the first child of SOAP Body element
<ns1:HeartBeat>
If the request uri consist of two parts “part1/part2”, it will be interpreted as “service-end-point/operation”. Our example above contains only the service-end-point, thus, the request uri cannot tell us the operation to invoked.
The SOAPAction urn:HeartBeat is a clear indicator for the operation to invoke. In our example above, Axis2 will use it to determine the SOAP operation.
The QName of the first child of SOAP Body element <ns1:HeartBeat> can also be used by Axis2 to determine the SOAP operation.