axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r415573 - in /webservices/axis2/trunk/c/woden: samples/wsdl10/test_wsdl1.c src/wsdl20/types.c
Date Tue, 20 Jun 2006 09:01:41 GMT
Author: samisa
Date: Tue Jun 20 02:01:40 2006
New Revision: 415573

URL: http://svn.apache.org/viewvc?rev=415573&view=rev
Log:
Fixed some bugs

Modified:
    webservices/axis2/trunk/c/woden/samples/wsdl10/test_wsdl1.c
    webservices/axis2/trunk/c/woden/src/wsdl20/types.c

Modified: webservices/axis2/trunk/c/woden/samples/wsdl10/test_wsdl1.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/samples/wsdl10/test_wsdl1.c?rev=415573&r1=415572&r2=415573&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/samples/wsdl10/test_wsdl1.c (original)
+++ webservices/axis2/trunk/c/woden/samples/wsdl10/test_wsdl1.c Tue Jun 20 02:01:40 2006
@@ -67,8 +67,12 @@
     desc = (void *)WODEN_READER_READ_WSDL(reader, env, om_doc, doc_base_uri);
     intfaces = WODEN_WSDL10_DESC_GET_INTERFACES(desc, env);
     intface = AXIS2_ARRAY_LIST_GET(intfaces, env, 0);
-    intface_qname = WODEN_INTERFACE_GET_QNAME(intface, env);
-    printf("Interface qname is %s\n", AXIS2_QNAME_TO_STRING(intface_qname, env));
+    if (intface)
+    {
+        intface_qname = WODEN_INTERFACE_GET_QNAME(intface, env);
+    }
+    if (intface_qname) 
+        printf("Interface qname is %s\n", AXIS2_QNAME_TO_STRING(intface_qname, env));
     svc_list = WODEN_WSDL10_DESC_ELEMENT_GET_SVC_ELEMENTS(desc, env);
     if (svc_list)
     {

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/types.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/types.c?rev=415573&r1=415572&r2=415573&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/types.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/types.c Tue Jun 20 02:01:40 2006
@@ -359,6 +359,7 @@
     types_impl->methods = NULL;
     types_impl->f_type_system = NULL;
     types_impl->f_schemas = NULL;
+    types_impl->schema_defs = NULL;
     
     types_impl->types.base.types_element.ops = NULL;
     types_impl->types.base.types_element.documentable_element.ops = 



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


Mime
View raw message