Specifying Service Level Message Receivers
Submitted on September 4, 2006 - 00:14. Story : Project :
A Message receiver is a special handler in Apache Axis2, and it is the last handler in the in-path. Each and every operation in a service has its own message receiver, and the type of message receiver may differ from one operation to another. A Message receiver is MEP (Message Exchange Pattern) dependent, so you can have different message receiver for different MEPs.
Take the scenario where you want to use same message receiver for all the operations in a given service. You can easily do this by adding service level message receiver. In this case you do not need to specify message receiver at the operation level.
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
Applies To:
Apache Axis2/Java 1.0
(1 vote)
»
- Login or register to post comments
- Printer friendly version
- 1225 reads
Tag Cloud
Apache Rampart
Apache Synapse
Axis2
Axis2
Axis2/C
Rampart/C
Axis2/C
WSF/C
data services
ESB
ESB
Identity Solution
Rampart/Java
Sandesha2/Java
Synapse/Java
Axis2/Java
ESB/Java
AXIOM/Java
WSAS/Java
Mashup Server
Mule
OpenID
open source
PHP
WSF/PHP
POJO
Proxy Services
rampart
Rampart
Registry
REST
Sandesha2
security
SOA
soap
Spring
Synapse
Synapse
Training
webinar
Web Services
WS-Security
WSAS
WSAS
wsdl
wsf
WSF/C
WSF/PHP
WSO2
WSO2 WSF/PHP










