You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/05/02 14:33:13 UTC

svn commit: r534421 - in /webservices/axis2/trunk/c: src/core/description/op.c src/core/transport/http/common/http_worker.c xdocs/docs/axis2c_manual.html

Author: samisa
Date: Wed May  2 05:33:08 2007
New Revision: 534421

URL: http://svn.apache.org/viewvc?view=rev&rev=534421
Log:
Fixed some bugs and doc typos

Modified:
    webservices/axis2/trunk/c/src/core/description/op.c
    webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
    webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html

Modified: webservices/axis2/trunk/c/src/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/op.c?view=diff&rev=534421&r1=534420&r2=534421
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/op.c (original)
+++ webservices/axis2/trunk/c/src/core/description/op.c Wed May  2 05:33:08 2007
@@ -980,11 +980,11 @@
     {
         return AXIS2_FAILURE;
     }
-    status =  axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, op_ctx);
+    /*status =  axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, op_ctx);
     if (AXIS2_FAILURE == status)
     {
         return AXIS2_FAILURE;
-    }
+    }*/
     status =  axis2_msg_ctx_set_op_ctx(msg_ctx, env, op_ctx);
     if (AXIS2_FAILURE == status)
     {

Modified: webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c?view=diff&rev=534421&r1=534420&r2=534421
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c Wed May  2 05:33:08 2007
@@ -393,7 +393,7 @@
     {
         axis2_msg_ctx_t *out_msg_ctx = NULL, *in_msg_ctx = NULL;
         axis2_msg_ctx_t **msg_ctx_map = NULL;
-        const axis2_char_t *msg_id = NULL;
+        axis2_char_t *msg_id = NULL;
         axis2_conf_ctx_t *conf_ctx = NULL;
         msg_ctx_map =  axis2_op_ctx_get_msg_ctx_map(op_ctx, env);
 
@@ -409,7 +409,7 @@
 
         if (in_msg_ctx)
         {
-            msg_id = axis2_msg_ctx_get_msg_id(in_msg_ctx, env);
+            msg_id = axutil_strdup(env, axis2_msg_ctx_get_msg_id(in_msg_ctx, env));
             conf_ctx = axis2_msg_ctx_get_conf_ctx(in_msg_ctx, env);
         
             axis2_msg_ctx_free(in_msg_ctx, env);
@@ -423,8 +423,9 @@
             if (conf_ctx && msg_id)
             {
                 axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, NULL);
-                axis2_op_ctx_free(op_ctx, env);
+                AXIS2_FREE(env->allocator, msg_id);
             }
+            axis2_op_ctx_free(op_ctx, env);
         }
         
     } /* Done freeing message contexts */

Modified: webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html?view=diff&rev=534421&r1=534420&r2=534421
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html Wed May  2 05:33:08 2007
@@ -1174,39 +1174,35 @@
 <p>Use the Axis2/C VC project or makefile to buid the
 component.</a></p>
 
-<p><a name="ssl_client">In this document I assume that the mod_axis2_IIS.dll
-is in the directory </a><a name="ssl_client1"
-id="ssl_client1"><code>c:\axis2c\lib\mod_axis2_IIS.dll</code> and axis2c_home
-is <code>c:\axis2c</code></a></p>
-
-<p><a name="ssl_client2" id="ssl_client2">Add the following key to the
-registery.</a></p>
-
-<p><a name="ssl_client">HKEY_LOCAL_MACHINE\SOFTWARE\Apache Axis2c\IIS ISAPI
-Redirector</a></p>
-
-<p><a name="ssl_client">Add a string value with the name axis2c_home and a
-value of c:\axis2c</a></p>
-
-<p><a name="ssl_client">Add a string value with the name log_file and a value
-of c:\axis2c\logs\axis2.log</a></p>
-
-<p><a name="ssl_client">Add a string value with the name log_level. The value
-can be either trace, error, info, critical, debug, or warning.</a></p>
-
-<p><a name="ssl_client">Using the IIS management console, add a new virtual
-directory to your IIS/PWS web site. </a><a name="ssl_client3"
-id="ssl_client3">The name of the virtual directory must be axis2. Its
-physical path should be the directory </a><a name="ssl_client4"
-id="ssl_client4">in which you placed mod_axis2_IIS.dll (in our example it is
-c:\axis2c\lib). When creating this new </a><a name="ssl_client5"
-id="ssl_client5">virtual directory, assign execute access to it.</a></p>
+<p>In this document I assume that the mod_axis2_IIS.dll
+is in the directory <code>c:\axis2c\lib\mod_axis2_IIS.dll</code> and axis2c_home
+is <code>c:\axis2c</code></p>
 
-<p><a name="ssl_client">By using the IIS management console, add
+<p>Add the following key to the
+registery.</p>
+
+<p>HKEY_LOCAL_MACHINE\SOFTWARE\Apache Axis2c\IIS ISAPI
+Redirector</p>
+
+<p>Add a string value with the name axis2c_home and a
+value of c:\axis2c</p>
+
+<p>Add a string value with the name log_file and a value
+of c:\axis2c\logs\axis2.log</p>
+
+<p>Add a string value with the name log_level. The value
+can be either trace, error, info, critical, debug, or warning.</p>
+
+<p>Using the IIS management console, add a new virtual
+directory to your IIS/PWS web site. The name of the virtual directory must be axis2. Its
+physical path should be the directory in which you placed mod_axis2_IIS.dll (in our example it is
+c:\axis2c\lib). When creating this new virtual directory, assign execute access to it.</p>
+
+<p>By using the IIS management console, add
 mod_axis2_IIS.dll as a filter in your IIS/PWS web site and restart the IIS
-admin service.</a></p>
+admin service.</p>
 
-<p><a name="ssl_client"></a></p>
+<a name="ssl_client"></a>
 <h1>13. Using SSL Client</h1>
 
 <h2>Building and Configuring the Client</h2>



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