<axisconfig name="AxisJava2.0"> | |
<parameter name="hotdeployment" locked="false">true</parameter> | |
<parameter name="hotupdate" locked="false">true</parameter> | |
<messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> | |
<!-- Scenario 3 with MTOM: Client's Configuration:START--> | |
<parameter name="OutflowSecurity"> | |
<action> | |
<items>Signature Encrypt Timestamp</items> | |
<user>alice</user> | |
<passwordCallbackClass>org.apache.axis2.security.PWCallback</passwordCallbackClass> | |
<signaturePropFile>interop.properties</signaturePropFile> | |
<signatureKeyIdentifier>DirectReference</signatureKeyIdentifier> | |
<encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier> | |
<encryptionUser>bob</encryptionUser> | |
<optimizeParts>//xenc:EncryptedData/xenc:CipherData/xenc:CipherValue</optimizeParts> | |
</action> | |
</parameter> | |
<parameter name="InflowSecurity"> | |
<action> | |
<items>Signature Encrypt Timestamp</items> | |
<passwordCallbackClass>org.apache.axis2.security.PWCallback</passwordCallbackClass> | |
<signaturePropFile>interop.properties</signaturePropFile> | |
</action> | |
</parameter> | |
<!-- Scenario 3 with MTOM: Client's Configuration:END--> | |
<transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender"> | |
<parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter> | |
</transportSender> | |
<phaseOrder type="InFlow"> | |
<!-- System predefined phases --> | |
<phase name="Transport"> | |
<handler name="RequestURIBasedDispatcher" | |
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"> | |
<order phase="Transport"/> | |
</handler> | |
<handler name="SOAPActionBasedDispatcher" | |
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"> | |
<order phase="Transport"/> | |
</handler> | |
</phase> | |
<phase name="Addressing"> | |
<handler name="AddressingBasedDispatcher" | |
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher"> | |
<order phase="Addressing"/> | |
</handler> | |
</phase> | |
<phase name="Security"/> | |
<phase name="PreDispatch"/> | |
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"> | |
<handler name="RequestURIBasedDispatcher" | |
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/> | |
<handler name="SOAPActionBasedDispatcher" | |
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/> | |
<handler name="RequestURIOperationDispatcher" | |
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/> | |
<handler name="SOAPMessageBodyBasedDispatcher" | |
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/> | |
<handler name="HTTPLocationBasedDispatcher" | |
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/> | |
</phase> | |
<phase name="RMPhase"/> | |
<!-- System predefined phases --> | |
<!-- After Postdispatch phase module author or service author can add any phase he want --> | |
<phase name="OperationInPhase"/> | |
<phase name="soapmonitorPhase"/> | |
</phaseOrder> | |
<phaseOrder type="OutFlow"> | |
<!-- user can add his own phases to this area --> | |
<phase name="soapmonitorPhase"/> | |
<phase name="OperationOutPhase"/> | |
<!--system predefined phase--> | |
<!--these phase will run irrespective of the service--> | |
<phase name="RMPhase"/> | |
<phase name="PolicyDetermination"/> | |
<phase name="MessageOut"/> | |
<phase name="Security"/> | |
</phaseOrder> | |
<phaseOrder type="InFaultFlow"> | |
<phase name="Addressing"> | |
<handler name="AddressingBasedDispatcher" | |
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher"> | |
<order phase="Addressing"/> | |
</handler> | |
</phase> | |
<phase name="Security"/> | |
<phase name="PreDispatch"/> | |
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"> | |
<handler name="RequestURIBasedDispatcher" | |
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/> | |
<handler name="SOAPActionBasedDispatcher" | |
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/> | |
<handler name="RequestURIOperationDispatcher" | |
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/> | |
<handler name="SOAPMessageBodyBasedDispatcher" | |
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/> | |
<handler name="HTTPLocationBasedDispatcher" | |
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/> | |
</phase> | |
<phase name="RMPhase"/> | |
<!-- user can add his own phases to this area --> | |
<phase name="OperationInFaultPhase"/> | |
<phase name="soapmonitorPhase"/> | |
</phaseOrder> | |
<phaseOrder type="OutFaultFlow"> | |
<!-- user can add his own phases to this area --> | |
<phase name="soapmonitorPhase"/> | |
<phase name="OperationOutFaultPhase"/> | |
<phase name="RMPhase"/> | |
<phase name="PolicyDetermination"/> | |
<phase name="MessageOut"/> | |
<phase name="Security"/> | |
</phaseOrder> | |
</axisconfig> | |