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 da...@apache.org on 2006/08/10 14:06:02 UTC

svn commit: r430362 - in /webservices/sandesha/trunk/c: config/module.xml src/handlers/sandesha2_in_handler.c src/msgprocessors/msg_processor_creator.c

Author: damitha
Date: Thu Aug 10 05:06:01 2006
New Revision: 430362

URL: http://svn.apache.org/viewvc?rev=430362&view=rev
Log:
In process of making sandesha2 work

Modified:
    webservices/sandesha/trunk/c/config/module.xml
    webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c
    webservices/sandesha/trunk/c/src/msgprocessors/msg_processor_creator.c

Modified: webservices/sandesha/trunk/c/config/module.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/config/module.xml?rev=430362&r1=430361&r2=430362&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/config/module.xml (original)
+++ webservices/sandesha/trunk/c/config/module.xml Thu Aug 10 05:06:01 2006
@@ -38,6 +38,7 @@
 
     <operation name="RMInOnlyOperation" mep="http://www.w3.org/2004/08/wsdl/in-only">
         <messageReceiver class="axis2_receivers"/>
+        <parameter name="wsamapping" >http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</parameter>
         
         <!-- namespaces for the 2005-02 spec -->
         
@@ -54,6 +55,7 @@
  
      <operation name="RMInOutOperation" mep="http://www.w3.org/2004/08/wsdl/in-out">
         <messageReceiver class="axis2_receivers"/>
+        <parameter name="wsamapping" >http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</parameter>
         
         <!-- namespaces for the 2005-02 spec -->
         <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</actionMapping>

Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c?rev=430362&r1=430361&r2=430362&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c Thu Aug 10 05:06:01 2006
@@ -102,7 +102,8 @@
     ctx = AXIS2_MSG_CTX_GET_BASE(msg_ctx, env);
     temp_prop = AXIS2_CTX_GET_PROPERTY(ctx, env, 
             SANDESHA2_APPLICATION_PROCESSING_DONE, AXIS2_FALSE);
-    str_done = (axis2_char_t *) AXIS2_PROPERTY_GET_VALUE(temp_prop, env); 
+    if(temp_prop)
+        str_done = (axis2_char_t *) AXIS2_PROPERTY_GET_VALUE(temp_prop, env); 
     if(str_done && 0 == AXIS2_STRCMP(SANDESHA2_VALUE_TRUE, str_done))
         return AXIS2_SUCCESS;
     temp_prop = AXIS2_CTX_GET_PROPERTY(ctx, env, SANDESHA2_REINJECTED_MESSAGE, 

Modified: webservices/sandesha/trunk/c/src/msgprocessors/msg_processor_creator.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/msg_processor_creator.c?rev=430362&r1=430361&r2=430362&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/msg_processor_creator.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/msg_processor_creator.c Thu Aug 10 05:06:01 2006
@@ -46,21 +46,21 @@
     switch(msg_type)
     {
         case SANDESHA2_MSG_TYPE_CREATE_SEQ:
-            return (sandesha2_msg_processor_t *) sandesha2_create_seq_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_create_seq_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_TERMINATE_SEQ:
-            return (sandesha2_msg_processor_t *) sandesha2_terminate_seq_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_terminate_seq_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_TERMINATE_SEQ_RESPONSE:
-            return (sandesha2_msg_processor_t *) sandesha2_terminate_seq_res_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_terminate_seq_res_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_APPLICATION:
-            return (sandesha2_msg_processor_t *) sandesha2_app_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_app_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_CREATE_SEQ_RESPONSE:
-            return (sandesha2_msg_processor_t *) sandesha2_create_seq_res_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_create_seq_res_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_ACK:
-            return (sandesha2_msg_processor_t *) sandesha2_ack_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_ack_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_CLOSE_SEQ:
-            return (sandesha2_msg_processor_t *) sandesha2_close_seq_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_close_seq_msg_processor_create(env);
         case SANDESHA2_MSG_TYPE_ACK_REQUEST:
-            return (sandesha2_msg_processor_t *) sandesha2_ack_req_msg_processor(env);
+            return (sandesha2_msg_processor_t *) sandesha2_ack_req_msg_processor_create(env);
         default :
             return NULL;
     }



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