You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@apache.org on 2008/12/09 10:02:10 UTC

svn commit: r724644 - in /webservices/axis2/trunk/c/include: axis2_const.h axis2_http_client.h axis2_http_simple_response.h axis2_http_transport_utils.h

Author: manjula
Date: Tue Dec  9 01:02:09 2008
New Revision: 724644

URL: http://svn.apache.org/viewvc?rev=724644&view=rev
Log:
Fixes for Axis2C-1302

Modified:
    webservices/axis2/trunk/c/include/axis2_const.h
    webservices/axis2/trunk/c/include/axis2_http_client.h
    webservices/axis2/trunk/c/include/axis2_http_simple_response.h
    webservices/axis2/trunk/c/include/axis2_http_transport_utils.h

Modified: webservices/axis2/trunk/c/include/axis2_const.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_const.h?rev=724644&r1=724643&r2=724644&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_const.h (original)
+++ webservices/axis2/trunk/c/include/axis2_const.h Tue Dec  9 01:02:09 2008
@@ -359,6 +359,8 @@
 #define AXIS2_ATTACHMENT_DIR "attachmentDIR"
 #define AXIS2_MTOM_BUFFER_SIZE "MTOMBufferSize"
 #define AXIS2_MTOM_MAX_BUFFERS "MTOMMaxBuffers"
+#define AXIS2_MTOM_CACHING_CALLBACK "MTOMCachingCallback"
+#define AXIS2_MTOM_SENDING_CALLBACK "MTOMSendingCallback"
 
     /* op_ctx persistance */
 #define AXIS2_PERSIST_OP_CTX "persistOperationContext"

Modified: webservices/axis2/trunk/c/include/axis2_http_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_client.h?rev=724644&r1=724643&r2=724644&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_client.h Tue Dec  9 01:02:09 2008
@@ -255,6 +255,12 @@
         const axis2_http_client_t * client,
         const axutil_env_t * env);
 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    axis2_http_client_set_mtom_sending_callback_name(
+        axis2_http_client_t * client,
+        const axutil_env_t * env,
+        axis2_char_t *callback_name);
+
 
     /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_http_simple_response.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_simple_response.h?rev=724644&r1=724643&r2=724644&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_response.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_response.h Tue Dec  9 01:02:09 2008
@@ -315,6 +315,17 @@
         const axutil_env_t * env,
         axis2_char_t *http_version);
 
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    axis2_http_simple_response_get_mtom_sending_callback_name(
+        axis2_http_simple_response_t * simple_response,
+        const axutil_env_t * env);
+
+    void AXIS2_EXTERN AXIS2_CALL
+    axis2_http_simple_response_set_mtom_sending_callback_name(
+        axis2_http_simple_response_t * simple_response,
+        const axutil_env_t * env,
+        axis2_char_t *mtom_sending_callback_name);
+
 
 
 

Modified: webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_transport_utils.h?rev=724644&r1=724643&r2=724644&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_transport_utils.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_transport_utils.h Tue Dec  9 01:02:09 2008
@@ -45,6 +45,7 @@
 #include <axutil_http_chunked_stream.h>
 #include <axis2_http_out_transport_info.h>
 #include <axutil_url.h>
+#include <axiom_mtom_sending_callback.h>
 
 #ifdef __cplusplus
 extern "C"
@@ -387,13 +388,25 @@
     axis2_http_transport_utils_send_mtom_message(
         axutil_http_chunked_stream_t * chunked_stream,
         const axutil_env_t * env,
-        axutil_array_list_t *mime_parts);
+        axutil_array_list_t *mime_parts,
+        axis2_char_t *sending_callback_name);
 
     AXIS2_EXTERN void AXIS2_CALL 
     axis2_http_transport_utils_destroy_mime_parts(
         axutil_array_list_t *mime_parts,
         const axutil_env_t *env);
 
+    AXIS2_EXTERN void *AXIS2_CALL 
+        axis2_http_transport_utils_initiate_callback(
+        const axutil_env_t *env,
+        axis2_char_t *callback_name,
+        void *user_param,
+        axiom_mtom_sending_callback_t **callback);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL axis2_http_transport_utils_is_callback_required(
+        const axutil_env_t *env,
+        axutil_array_list_t *mime_parts);
+
 
 
     /** @} */