You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ch...@apache.org on 2007/02/08 06:37:22 UTC

svn commit: r504791 - in /webservices/sandesha/trunk/java/test-resources: client_mtom_axis2.xml server_mtom_axis2.xml

Author: chamikara
Date: Wed Feb  7 21:37:19 2007
New Revision: 504791

URL: http://svn.apache.org/viewvc?view=rev&rev=504791
Log:
Updated mtom_service.xml files.


Modified:
    webservices/sandesha/trunk/java/test-resources/client_mtom_axis2.xml
    webservices/sandesha/trunk/java/test-resources/server_mtom_axis2.xml

Modified: webservices/sandesha/trunk/java/test-resources/client_mtom_axis2.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/test-resources/client_mtom_axis2.xml?view=diff&rev=504791&r1=504790&r2=504791
==============================================================================
--- webservices/sandesha/trunk/java/test-resources/client_mtom_axis2.xml (original)
+++ webservices/sandesha/trunk/java/test-resources/client_mtom_axis2.xml Wed Feb  7 21:37:19 2007
@@ -16,17 +16,29 @@
     <!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
     <parameter name="DrillDownToRootCauseForFaultReason" locked="false">false</parameter>
 
-    <!-- Uncomment this to enable REST support -->
-    <!--    <parameter name="enableREST" locked="false">true</parameter>-->
-
     <!--This is the user name and password of admin console-->
     <parameter name="userName" locked="false">admin</parameter>
     <parameter name="password" locked="false">axis2</parameter>
-    
-    
-    <parameter name="Sandesha2StorageManager" locked="false">inmemory</parameter>
-    
-    
+
+    <!--<parameter name="contextRoot" locked="false">axis2</parameter>-->
+    <!--<parameter name="servicePath" locked="false">services</parameter>-->
+    <!--Set the flag to true if you want to enable transport level session mangment-->
+    <parameter name="manageTransportSession" locked="false">false</parameter>
+
+    <!--Following two parameters will be used to handle REST in Axis2. The default settings will make Axis2 to have two-->
+    <!--different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet). But following-->
+    <!--parameters help to tweak the message handling of two main servlets. -->
+
+    <!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
+    <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
+
+    <!-- Following parameter will completely disable REST handling in both the servlets-->
+    <parameter name="disableREST" locked="true">false</parameter>
+
+    <!-- This will disable the separate servlet we have for REST handling. -->
+    <parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>
+
+
 
     <!-- ================================================= -->
     <!-- Message Receivers -->
@@ -41,6 +53,18 @@
         <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
                          class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
     </messageReceivers>
+    
+    <!-- ================================================= -->
+    <!-- Target Resolvers -->
+    <!-- ================================================= -->
+    <!-- Uncomment the following and specify the class name for your TargetResolver to add -->
+    <!-- a TargetResolver. TargetResolvers are used to process the To EPR for example to -->
+    <!-- choose a server in a cluster -->
+    <!--<targetResolvers>-->
+    <!--<targetResolver class="" />-->
+    <!--</targetResolvers>-->
+    
+    
     <!-- ================================================= -->
     <!-- Transport Ins -->
     <!-- ================================================= -->
@@ -68,8 +92,6 @@
                      class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
     <transportSender name="local"
                      class="org.apache.axis2.transport.local.LocalTransportSender"/>
-    <transportSender name="jms"
-                     class="org.apache.axis2.transport.jms.JMSSender"/>
     <transportSender name="http"
                      class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
@@ -81,9 +103,9 @@
         <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
     </transportSender>
 
-    <module ref="addressing" />
-    <module ref="sandesha2" />
-
+	<module ref="addressing" />
+	<module ref="sandesha2" />
+	
     <!-- ================================================= -->
     <!-- Phases  -->
     <!-- ================================================= -->
@@ -92,11 +114,11 @@
          <phase name="Transport">
             <handler name="RequestURIBasedDispatcher"
                      class="org.apache.axis2.engine.RequestURIBasedDispatcher">
-                <order phase="Dispatch"/>
+                <order phase="Transport"/>
             </handler>
             <handler name="SOAPActionBasedDispatcher"
                      class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
-                <order phase="Dispatch"/>
+                <order phase="Transport"/>
             </handler>
         </phase>
         <phase name="Security"/>
@@ -117,22 +139,23 @@
             </handler>
             <handler name="InstanceDispatcher"
                      class="org.apache.axis2.engine.InstanceDispatcher">
-                <order phase="PostDispatch"/>
+                <order phase="Dispatch"/>
             </handler>
         </phase>
         <!--  System pre defined phases       -->
         <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
-        <phase name="RMPhase"/>
         <phase name="OperationInPhase"/>
+		<phase name="RMPhase" />
     </phaseOrder>
     <phaseOrder type="OutFlow">
         <!--      user can add his own phases to this area  -->
-        <phase name="OperationOutPhase"/>
-        <phase name="RMPhase"/>
+		<phase name="RMPhase" />
+	    <phase name="OperationOutPhase"/>
         <!--system predefined phase-->
         <!--these phase will run irrespective of the service-->
         <phase name="PolicyDetermination"/>
         <phase name="MessageOut"/>
+        <phase name="Security"/>
     </phaseOrder>
     <phaseOrder type="InFaultFlow">
         <phase name="PreDispatch"/>
@@ -162,17 +185,17 @@
             </handler>
             <handler name="InstanceDispatcher"
                      class="org.apache.axis2.engine.InstanceDispatcher">
-                <order phase="PostDispatch"/>
+                <order phase="Dispatch"/>
             </handler>
         </phase>
         <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
         <phase name="OperationInFaultPhase"/>
+		<phase name="RMPhase" />
     </phaseOrder>
     <phaseOrder type="OutFaultFlow">
         <!--      user can add his own phases to this area  -->
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="RMPhase"/>
+        <phase name="RMPhase" />
+		<phase name="OperationOutFaultPhase"/>
         <phase name="PolicyDetermination"/>
         <phase name="MessageOut"/>
     </phaseOrder>

Modified: webservices/sandesha/trunk/java/test-resources/server_mtom_axis2.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/test-resources/server_mtom_axis2.xml?view=diff&rev=504791&r1=504790&r2=504791
==============================================================================
--- webservices/sandesha/trunk/java/test-resources/server_mtom_axis2.xml (original)
+++ webservices/sandesha/trunk/java/test-resources/server_mtom_axis2.xml Wed Feb  7 21:37:19 2007
@@ -16,16 +16,30 @@
     <!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
     <parameter name="DrillDownToRootCauseForFaultReason" locked="false">false</parameter>
 
-    <!-- Uncomment this to enable REST support -->
-    <!--    <parameter name="enableREST" locked="false">true</parameter>-->
-
     <!--This is the user name and password of admin console-->
     <parameter name="userName" locked="false">admin</parameter>
     <parameter name="password" locked="false">axis2</parameter>
-    
-    
-    <parameter name="Sandesha2StorageManager" locked="false">inmemory</parameter>
-    
+
+    <!--<parameter name="contextRoot" locked="false">axis2</parameter>-->
+    <!--<parameter name="servicePath" locked="false">services</parameter>-->
+    <!--Set the flag to true if you want to enable transport level session mangment-->
+    <parameter name="manageTransportSession" locked="false">false</parameter>
+
+    <!--Following two parameters will be used to handle REST in Axis2. The default settings will make Axis2 to have two-->
+    <!--different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet). But following-->
+    <!--parameters help to tweak the message handling of two main servlets. -->
+
+    <!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
+    <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
+
+    <!-- Following parameter will completely disable REST handling in both the servlets-->
+    <parameter name="disableREST" locked="true">false</parameter>
+
+    <!-- This will disable the separate servlet we have for REST handling. -->
+    <parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>
+
+
+		
 
     <!-- ================================================= -->
     <!-- Message Receivers -->
@@ -40,6 +54,18 @@
         <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
                          class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
     </messageReceivers>
+    
+    <!-- ================================================= -->
+    <!-- Target Resolvers -->
+    <!-- ================================================= -->
+    <!-- Uncomment the following and specify the class name for your TargetResolver to add -->
+    <!-- a TargetResolver. TargetResolvers are used to process the To EPR for example to -->
+    <!-- choose a server in a cluster -->
+    <!--<targetResolvers>-->
+    <!--<targetResolver class="" />-->
+    <!--</targetResolvers>-->
+    
+    
     <!-- ================================================= -->
     <!-- Transport Ins -->
     <!-- ================================================= -->
@@ -67,8 +93,6 @@
                      class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
     <transportSender name="local"
                      class="org.apache.axis2.transport.local.LocalTransportSender"/>
-    <transportSender name="jms"
-                     class="org.apache.axis2.transport.jms.JMSSender"/>
     <transportSender name="http"
                      class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
@@ -80,8 +104,8 @@
         <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
     </transportSender>
 
-    <module ref="addressing" />
-
+	<module ref="addressing" />
+	
     <!-- ================================================= -->
     <!-- Phases  -->
     <!-- ================================================= -->
@@ -90,11 +114,11 @@
          <phase name="Transport">
             <handler name="RequestURIBasedDispatcher"
                      class="org.apache.axis2.engine.RequestURIBasedDispatcher">
-                <order phase="Dispatch"/>
+                <order phase="Transport"/>
             </handler>
             <handler name="SOAPActionBasedDispatcher"
                      class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
-                <order phase="Dispatch"/>
+                <order phase="Transport"/>
             </handler>
         </phase>
         <phase name="Security"/>
@@ -115,22 +139,23 @@
             </handler>
             <handler name="InstanceDispatcher"
                      class="org.apache.axis2.engine.InstanceDispatcher">
-                <order phase="PostDispatch"/>
+                <order phase="Dispatch"/>
             </handler>
         </phase>
         <!--  System pre defined phases       -->
         <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
-        <phase name="RMPhase"/>
         <phase name="OperationInPhase"/>
+		<phase name="RMPhase" />
     </phaseOrder>
     <phaseOrder type="OutFlow">
         <!--      user can add his own phases to this area  -->
-        <phase name="OperationOutPhase"/>
-        <phase name="RMPhase"/>
+		<phase name="RMPhase" />
+	    <phase name="OperationOutPhase"/>
         <!--system predefined phase-->
         <!--these phase will run irrespective of the service-->
         <phase name="PolicyDetermination"/>
         <phase name="MessageOut"/>
+        <phase name="Security"/>
     </phaseOrder>
     <phaseOrder type="InFaultFlow">
         <phase name="PreDispatch"/>
@@ -160,17 +185,17 @@
             </handler>
             <handler name="InstanceDispatcher"
                      class="org.apache.axis2.engine.InstanceDispatcher">
-                <order phase="PostDispatch"/>
+                <order phase="Dispatch"/>
             </handler>
         </phase>
         <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
         <phase name="OperationInFaultPhase"/>
+		<phase name="RMPhase" />
     </phaseOrder>
     <phaseOrder type="OutFaultFlow">
         <!--      user can add his own phases to this area  -->
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="RMPhase"/>
+        <phase name="RMPhase" />
+		<phase name="OperationOutFaultPhase"/>
         <phase name="PolicyDetermination"/>
         <phase name="MessageOut"/>
     </phaseOrder>



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org