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 su...@apache.org on 2008/08/06 07:31:25 UTC
svn commit: r683113 - in /webservices/axis2/trunk/c/src/core:
clientapi/op_client.c deployment/conf_builder.c
Author: supun
Date: Tue Aug 5 22:31:24 2008
New Revision: 683113
URL: http://svn.apache.org/viewvc?rev=683113&view=rev
Log:
added the capability include udp transport.
Modified:
webservices/axis2/trunk/c/src/core/clientapi/op_client.c
webservices/axis2/trunk/c/src/core/deployment/conf_builder.c
Modified: webservices/axis2/trunk/c/src/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/op_client.c?rev=683113&r1=683112&r2=683113&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/op_client.c Tue Aug 5 22:31:24 2008
@@ -913,6 +913,10 @@
{
transport_enum = AXIS2_TRANSPORT_ENUM_AMQP;
}
+ else if (!axutil_strcmp(transport, AXIS2_TRANSPORT_UDP))
+ {
+ transport_enum = AXIS2_TRANSPORT_ENUM_UDP;
+ }
conf_ctx = axis2_svc_ctx_get_conf_ctx(op_client->svc_ctx, env);
if (conf_ctx)
Modified: webservices/axis2/trunk/c/src/core/deployment/conf_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/deployment/conf_builder.c?rev=683113&r1=683112&r2=683113&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/deployment/conf_builder.c (original)
+++ webservices/axis2/trunk/c/src/core/deployment/conf_builder.c Tue Aug 5 22:31:24 2008
@@ -798,6 +798,10 @@
{
transport_enum = AXIS2_TRANSPORT_ENUM_AMQP;
}
+ else if (!axutil_strcmp(name, AXIS2_TRANSPORT_UDP))
+ {
+ transport_enum = AXIS2_TRANSPORT_ENUM_UDP;
+ }
else
{
AXIS2_LOG_ERROR (env->log, AXIS2_LOG_SI,
@@ -1150,6 +1154,10 @@
{
transport_enum = AXIS2_TRANSPORT_ENUM_AMQP;
}
+ else if (!axutil_strcmp(name, AXIS2_TRANSPORT_UDP))
+ {
+ transport_enum = AXIS2_TRANSPORT_ENUM_UDP;
+ }
else
{
AXIS2_LOG_ERROR (env->log, AXIS2_LOG_SI,