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 sa...@apache.org on 2007/06/20 04:52:01 UTC
svn commit: r548898 - in /webservices/axis2/trunk/c:
include/axis2_http_transport.h include/axis2_svc_client.h
src/core/transport/http/sender/http_sender.c
Author: samisa
Date: Tue Jun 19 19:52:00 2007
New Revision: 548898
URL: http://svn.apache.org/viewvc?view=rev&rev=548898
Log:
Fixed the problem of defining the PROXY constants in the incorrect place
Modified:
webservices/axis2/trunk/c/include/axis2_http_transport.h
webservices/axis2/trunk/c/include/axis2_svc_client.h
webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
Modified: webservices/axis2/trunk/c/include/axis2_http_transport.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_transport.h?view=diff&rev=548898&r1=548897&r2=548898
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_transport.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_transport.h Tue Jun 19 19:52:00 2007
@@ -419,12 +419,14 @@
/**
* Constant for HTTP proxy host
*/
-#define AXIS2_PROXY_HOST_NAME "proxy_host"
+#define AXIS2_HTTP_PROXY_HOST "proxy_host"
/**
* Constant for HTTP proxy port
*/
-#define AXIS2_PROXY_HOST_PORT "proxy_port"
+#define AXIS2_HTTP_PROXY_PORT "proxy_port"
+
+#define AXIS2_HTTP_PROXY_API "PROXY_API"
/**
* Constant for HTTP method
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?view=diff&rev=548898&r1=548897&r2=548898
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_client.h Tue Jun 19 19:52:00 2007
@@ -66,9 +66,6 @@
/** out-in MEP operation name */
#define AXIS2_ANON_OUT_IN_OP "__OPERATION_OUT_IN__"
-#define AXIS2_HTTP_PROXY_API "PROXY_API"
-#define AXIS2_HTTP_PROXY_HOST "proxy_host"
-#define AXIS2_HTTP_PROXY_PORT "proxy_port"
#ifdef __cplusplus
extern "C"
{
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?view=diff&rev=548898&r1=548897&r2=548898
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Tue Jun 19 19:52:00 2007
@@ -16,7 +16,6 @@
*/
#include <axis2_http_sender.h>
-#include <axis2_svc_client.h>
#include <axutil_string.h>
#include <axis2_http_transport.h>
#include <string.h>
@@ -858,7 +857,7 @@
axiom_attribute_t *host_attr = NULL;
axiom_attribute_t *port_attr = NULL;
- obj = axutil_hash_get(transport_attrs, AXIS2_PROXY_HOST_NAME,
+ obj = axutil_hash_get(transport_attrs, AXIS2_HTTP_PROXY_HOST,
AXIS2_HASH_KEY_STRING);
if (! obj)
{
@@ -878,7 +877,7 @@
/* Now we get the port */
obj = NULL;
- obj = axutil_hash_get(transport_attrs, AXIS2_PROXY_HOST_PORT,
+ obj = axutil_hash_get(transport_attrs, AXIS2_HTTP_PROXY_PORT,
AXIS2_HASH_KEY_STRING);
port_attr = (axiom_attribute_t*) axutil_generic_obj_get_value(obj,
env);
@@ -907,7 +906,7 @@
axiom_attribute_t *host_attr = NULL;
axiom_attribute_t *port_attr = NULL;
- obj = axutil_hash_get(transport_attrs, AXIS2_PROXY_HOST_NAME,
+ obj = axutil_hash_get(transport_attrs, AXIS2_HTTP_PROXY_HOST,
AXIS2_HASH_KEY_STRING);
if (! obj)
{
@@ -927,7 +926,7 @@
/* Now we get the port */
obj = NULL;
- obj = axutil_hash_get(transport_attrs, AXIS2_PROXY_HOST_PORT,
+ obj = axutil_hash_get(transport_attrs, AXIS2_HTTP_PROXY_PORT,
AXIS2_HASH_KEY_STRING);
port_attr = (axiom_attribute_t*) axutil_generic_obj_get_value(obj,
env);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org