| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| "DTD/xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
| <title>README</title> |
| </head> |
| |
| <body> |
| <h1>Engaging Sandesha2/C Module</h1> |
| |
| <p>Install sandesha2 module into <axis2 deploy folder>/modules folder. |
| Add the RMPhase information into axis2.xml as following. Search for 'RMPhase' |
| in the following xml block to identify the RM specific entries.</p> |
| <pre> <!-- ================================================= --> |
| <!-- Phases --> |
| <!-- ================================================= --> |
| <phaseOrder type="inflow"> |
| <!-- System pre defined phases --> |
| <phase name="Transport"/> |
| <phase name="PreDispatch"/> |
| <phase name="Dispatch"/> |
| <phase name="PostDispatch"/> |
| <!-- End system pre defined phases --> |
| <!-- After PostDispatch phase, module or service author can add any phase as required --> |
| <!-- User defined phases could be added here --> |
| <!--phase name="userphase1"/--> |
| <phase name="RMPhase"/> |
| </phaseOrder> |
| <phaseOrder type="outflow"> |
| <!-- User defined phases could be added here --> |
| <phase name="RMPhase"/> |
| <!--phase name="RMPhase"/--> |
| <!--phase name="userphase1"/--> |
| <!--system predefined phase--> |
| <phase name="MessageOut"/> |
| </phaseOrder> |
| <phaseOrder type="INfaultflow"> |
| <!-- User defined phases could be added here --> |
| <!--phase name="userphase1"/--> |
| <phase name="RMPhase"/> |
| </phaseOrder> |
| <phaseOrder type="Outfaultflow"> |
| <!-- User defined phases could be added here --> |
| <phase name="RMPhase"/> |
| <!--phase name="userphase1"/--> |
| <phase name="MessageOut"/> |
| </phaseOrder> |
| |
| </pre> |
| |
| <p>In the services xml file for the service which require RM enabled add the |
| entry <module ref="sandesha2"/> If you need all services in the engine |
| RM enabled add the above entry into axis2.xml.</p> |
| |
| <p>You can use samples in the samples folder for testing.</p> |
| </body> |
| </html> |