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/02/19 07:13:56 UTC

svn commit: r509106 - in /webservices/axis2/trunk/c: modules/core/transport/http/sender/Makefile.am modules/core/transport/http/sender/rest_sender.c modules/core/transport/http/sender/soap_over_http_sender.c samples/client/google/google_client.c

Author: samisa
Date: Sun Feb 18 22:13:55 2007
New Revision: 509106

URL: http://svn.apache.org/viewvc?view=rev&rev=509106
Log:
Fixed the client trasport break

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am
    webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
    webservices/axis2/trunk/c/samples/client/google/google_client.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am?view=diff&rev=509106&r1=509105&r2=509106
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/Makefile.am Sun Feb 18 22:13:55 2007
@@ -6,6 +6,7 @@
                                   http_client.c
 
 libaxis2_http_sender_la_LIBADD = $(top_builddir)/modules/core/transport/http/common/libaxis2_http_common.la\
+				 $(top_builddir)/modules/core/transport/http/util/libaxis2_http_util.la\
 				 $(top_builddir)/axiom/src/om/libaxis2_axiom.la\
 				 $(top_builddir)/util/src/libaxis2_util.la 
 

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c?view=diff&rev=509106&r1=509105&r2=509106
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c Sun Feb 18 22:13:55 2007
@@ -530,14 +530,8 @@
                 transfer_encoding =
                     AXIS2_STRDUP(AXIS2_HTTP_HEADER_TRANSFER_ENCODING_CHUNKED,
                             env);
-                property = axis2_property_create(env);
-                AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
-                AXIS2_PROPERTY_SET_VALUE(property, env, transfer_encoding);
-                AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env,
-                        AXIS2_HTTP_HEADER_TRANSFER_ENCODING,
-                        property,
-                        AXIS2_FALSE);
                 response_chunked = AXIS2_TRUE;
+                axis2_msg_ctx_set_transfer_encoding(msg_ctx, env, transfer_encoding);
             }
             if (0 != AXIS2_STRCMP(name, AXIS2_HTTP_HEADER_CONTENT_TYPE))
             {

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c?view=diff&rev=509106&r1=509105&r2=509106
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c Sun Feb 18 22:13:55 2007
@@ -627,14 +627,8 @@
                 transfer_encoding =
                     AXIS2_STRDUP(AXIS2_HTTP_HEADER_TRANSFER_ENCODING_CHUNKED,
                             env);
-                property = axis2_property_create(env);
-                AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
-                AXIS2_PROPERTY_SET_VALUE(property, env, transfer_encoding);
-                AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env,
-                        AXIS2_HTTP_HEADER_TRANSFER_ENCODING,
-                        property,
-                        AXIS2_FALSE);
                 response_chunked = AXIS2_TRUE;
+                axis2_msg_ctx_set_transfer_encoding(msg_ctx, env, transfer_encoding);
             }
             if (0 != AXIS2_STRCMP(name, AXIS2_HTTP_HEADER_CONTENT_TYPE))
             {

Modified: webservices/axis2/trunk/c/samples/client/google/google_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/google/google_client.c?view=diff&rev=509106&r1=509105&r2=509106
==============================================================================
--- webservices/axis2/trunk/c/samples/client/google/google_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/google/google_client.c Sun Feb 18 22:13:55 2007
@@ -68,6 +68,8 @@
         google_key = argv[1];
     if (argc > 2)
         word_to_spell = argv[2];
+    if (argc > 3)
+        address = argv[3];
 
     printf("Using endpoint : %s\n", address);
     printf("\nInvoking operation %s with params %s and %s\n", operation, google_key, word_to_spell);



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