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 da...@apache.org on 2006/03/02 05:06:59 UTC

svn commit: r382288 - /webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c

Author: damitha
Date: Wed Mar  1 20:06:58 2006
New Revision: 382288

URL: http://svn.apache.org/viewcvs?rev=382288&view=rev
Log:
Fixed a small bug

Modified:
    webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c?rev=382288&r1=382287&r2=382288&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c Wed Mar  1 20:06:58 2006
@@ -264,13 +264,15 @@
                                 axis2_wsdl_endpoint_t *endpoint) 
 {
     axis2_wsdl_svc_impl_t *wsdl_svc_impl = NULL;
+    axis2_qname_t *endpoint_qname = NULL;
     axis2_char_t *endpoint_name = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, endpoint, AXIS2_FAILURE);
     wsdl_svc_impl = AXIS2_INTF_TO_IMPL(wsdl_svc);
    
-    endpoint_name = AXIS2_WSDL_ENDPOINT_GET_NAME(endpoint, env);
+    endpoint_qname = AXIS2_WSDL_ENDPOINT_GET_NAME(endpoint, env);
+    endpoint_name = AXIS2_QNAME_TO_STRING(endpoint_qname, env);
     axis2_hash_set(wsdl_svc_impl->endpoints, endpoint_name , 
         AXIS2_HASH_KEY_STRING, endpoint);