axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r415604 - in /webservices/axis2/trunk/c/woden: samples/wsdl10/CalculatorDoc.wsdl src/util/qname_util.c src/wsdl10/woden_constants.h
Date Tue, 20 Jun 2006 10:36:38 GMT
Author: damitha
Date: Tue Jun 20 03:36:38 2006
New Revision: 415604

URL: http://svn.apache.org/viewvc?rev=415604&view=rev
Log:
Bug fixes

Modified:
    webservices/axis2/trunk/c/woden/samples/wsdl10/CalculatorDoc.wsdl
    webservices/axis2/trunk/c/woden/src/util/qname_util.c
    webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h

Modified: webservices/axis2/trunk/c/woden/samples/wsdl10/CalculatorDoc.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/samples/wsdl10/CalculatorDoc.wsdl?rev=415604&r1=415603&r2=415604&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/samples/wsdl10/CalculatorDoc.wsdl (original)
+++ webservices/axis2/trunk/c/woden/samples/wsdl10/CalculatorDoc.wsdl Tue Jun 20 03:36:38
2006
@@ -14,7 +14,7 @@
 <!-- See the License for the specific language governing permissions and      -->
 <!-- limitations under the License.                                           -->
 
-<wsdl:definitions targetNamespace="http://localhost/axis/Calculator" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<wsdl:definitions targetNamespace="http://localhost/axis/Calculator" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:types>
   <schema elementFormDefault="qualified" targetNamespace="http://localhost/axis/Calculator"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <element name="add">

Modified: webservices/axis2/trunk/c/woden/src/util/qname_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/util/qname_util.c?rev=415604&r1=415603&r2=415604&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/util/qname_util.c (original)
+++ webservices/axis2/trunk/c/woden/src/util/qname_util.c Tue Jun 20 03:36:38 2006
@@ -29,7 +29,8 @@
     axis2_bool_t ret = AXIS2_FALSE;
 
     qname_l = axis2_qname_util_new_qname(env, node);
-    ret = (NULL != node && AXIS2_TRUE == AXIS2_QNAME_EQUALS(qname, env, qname_l));
+    if(NULL != node && AXIS2_TRUE == AXIS2_QNAME_EQUALS(qname, env, qname_l))
+        ret = AXIS2_TRUE;
     AXIS2_QNAME_FREE(qname_l, env);
 
     return ret;

Modified: webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h?rev=415604&r1=415603&r2=415604&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h Tue Jun 20 03:36:38 2006
@@ -36,7 +36,7 @@
   */
 /*********************************** Constansts********************************/
 /* Namespace URIs. */
-#define WODEN_NS_URI_WSDL20 "http://www.w3.org/2006/01/wsdl"
+#define WODEN_NS_URI_WSDL20 "http://schemas.xmlsoap.org/wsdl"
 #define WODEN_NS_URI_XMLNS "http://www.w3.org/2000/xmlns/"
 #define WODEN_NS_URI_XSI "http://www.w3.org/2001/XMLSchema-instance"
 
@@ -66,27 +66,27 @@
 
 /* Top-level WSDL 2.0 qualified element names. */
 #define WODEN_Q_ELEM_DESCRIPTION "definitions|http://schemas.xmlsoap.org/wsdl"
-#define WODEN_Q_ELEM_DOCUMENTATION "documentation|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_IMPORT "import|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_INCLUDE "include|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_TYPES "types|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_MSG_REF "message|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_INTERFACE "interface|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_BINDING "binding|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_SERVICE "service|http://www.w3.org/2006/01/wsdl"
+#define WODEN_Q_ELEM_DOCUMENTATION "documentation|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_IMPORT "import|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INCLUDE "include|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_TYPES "types|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_MSG_REF "message|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INTERFACE "interface|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_BINDING "binding|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_SERVICE "service|http://schemas.xmlsoap.org/wsdl"
 
 /* Nested WSDL 2.0 qualified element names. */
-#define WODEN_Q_ELEM_FAULT "fault|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_OPERATION "operation|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_INPUT "input|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_OUTPUT "output|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_INFAULT "infault|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_OUTFAULT "outfault|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_FEATURE "feature|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_PROPERTY "property|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_VALUE "value|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_CONSTRAINT "constraint|http://www.w3.org/2006/01/wsdl"
-#define WODEN_Q_ELEM_ENDPOINT "endpoint|http://www.w3.org/2006/01/wsdl"
+#define WODEN_Q_ELEM_FAULT "fault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OPERATION "operation|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INPUT "input|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OUTPUT "output|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INFAULT "infault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OUTFAULT "outfault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_FEATURE "feature|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_PROPERTY "property|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_VALUE "value|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_CONSTRAINT "constraint|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_ENDPOINT "endpoint|http://schemas.xmlsoap.org/wsdl"
 
 /* Attribute names. */
 #define WODEN_ATTR_ID "id"
@@ -135,7 +135,7 @@
 
 
 /* Qualified attribute names.*/
-#define WODEN_Q_ATTR_REQUIRED "required|http://www.w3.org/2006/01/wsdl"
+#define WODEN_Q_ATTR_REQUIRED "required|http://schemas.xmlsoap.org/wsdl"
 
 /* XML Declaration string.*/
 #define WODEN_XML_DECL_DEFAULT "UTF-8"



---------------------------------------------------------------------
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