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 du...@apache.org on 2008/01/09 12:31:25 UTC

svn commit: r610345 - in /webservices/axis2/trunk/c: axiom/include/axiom_output.h axiom/src/om/om_output.c include/axis2_svc_client.h

Author: dushshantha
Date: Wed Jan  9 03:30:38 2008
New Revision: 610345

URL: http://svn.apache.org/viewvc?rev=610345&view=rev
Log:
Applied patches for JIRAs 878, 879. Thanks Senaka.

Modified:
    webservices/axis2/trunk/c/axiom/include/axiom_output.h
    webservices/axis2/trunk/c/axiom/src/om/om_output.c
    webservices/axis2/trunk/c/include/axis2_svc_client.h

Modified: webservices/axis2/trunk/c/axiom/include/axiom_output.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_output.h?rev=610345&r1=610344&r2=610345&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_output.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_output.h Wed Jan  9 03:30:38 2008
@@ -46,7 +46,8 @@
     /**
      * Creates AXIOM output struct 
      * @param env Environment. MUST NOT be NULL, .
-     * @param xml_writer XML writer. 
+     * @param xml_writer XML writer. OM output takes
+     * ownership of the xml_writer. 
      * @return a pointer to newly created output struct.
      */
     AXIS2_EXTERN axiom_output_t *AXIS2_CALL

Modified: webservices/axis2/trunk/c/axiom/src/om/om_output.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_output.c?rev=610345&r1=610344&r2=610345&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_output.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_output.c Wed Jan  9 03:30:38 2008
@@ -85,7 +85,6 @@
         return NULL;
     }
 
-    om_output->xml_writer = NULL;
     om_output->xml_writer = xml_writer;
     om_output->do_optimize = AXIS2_TRUE;
     om_output->mime_boundary = NULL;

Modified: webservices/axis2/trunk/c/include/axis2_svc_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_client.h?rev=610345&r1=610344&r2=610345&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_client.h Wed Jan  9 03:30:38 2008
@@ -208,7 +208,8 @@
      * @param env pointer to environment struct
      * @param op_qname operation qname. NULL is equivalent to an
      * operation name of "__OPERATION_ROBUST_OUT_ONLY__"
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
@@ -226,7 +227,8 @@
      * @param svc_client pointer to service client struct
      * @param env pointer to environment struct
      * operation name of "__OPERATION_ROBUST_OUT_ONLY__"
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
 
@@ -245,7 +247,8 @@
      * @param env pointer to environment struct
      * @param op_qname operation qname. NULL is equivalent to an
      * operation name of "__OPERATION_OUT_ONLY__"
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      */
     AXIS2_EXTERN void AXIS2_CALL
     axis2_svc_client_fire_and_forget_with_op_qname(
@@ -261,7 +264,8 @@
      * get client-side errors, such as host unknown etc.
      * @param svc_client pointer to service client struct
      * @param env pointer to environment struct
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      */
     AXIS2_EXTERN void AXIS2_CALL
     axis2_svc_client_fire_and_forget(
@@ -276,7 +280,8 @@
      * @param env pointer to environment struct
      * @param op_qname operation qname. NULL is equivalent to an
      * operation name of "__OPERATION_OUT_IN__"
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @return pointer to OM node representing the XML response. The 
      * caller owns the returned node.
      */
@@ -292,7 +297,8 @@
      * This method is used to interact with a service operation whose MEP is In-Out.
      * @param svc_client pointer to service client struct
      * @param env pointer to environment struct
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @return pointer to OM node representing the XML response. The 
      * caller owns the returned node.
      */
@@ -310,7 +316,8 @@
      * @param env pointer to environment struct
      * @param op_qname operation qname. NULL is equivalent to an
      * operation name of "__OPERATION_OUT_IN__"
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @callback pointer to callback struct used to capture response
      */
     AXIS2_EXTERN void AXIS2_CALL
@@ -327,7 +334,8 @@
      * operation whose MEP is In-Out.
      * @param svc_client pointer to service client struct
      * @param env pointer to environment struct
-     * @param payload pointer to OM node representing the XML payload to be sent
+     * @param payload pointer to OM node representing the XML payload to be sent.
+     * The caller has control over the payload until the service client frees it.
      * @callback pointer to callback struct used to capture response
      */
     AXIS2_EXTERN void AXIS2_CALL



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