axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r358123 - in /webservices/axis2/trunk/java/modules: core/src/org/apache/axis2/description/AxisService2WOM.java wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Date Tue, 20 Dec 2005 22:08:39 GMT
Author: dims
Date: Tue Dec 20 14:08:31 2005
New Revision: 358123

URL: http://svn.apache.org/viewcvs?rev=358123&view=rev
Log:
fix spelling

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
    webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java
    webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java?rev=358123&r1=358122&r2=358123&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2WOM.java
Tue Dec 20 14:08:31 2005
@@ -72,12 +72,12 @@
         WSDLDescription womDescription;
         WSDLComponentFactory wsdlComponentFactory = new WSDLDescriptionImpl();
         womDescription = wsdlComponentFactory.createDescription();
-        HashMap namspaseMap = new HashMap();
-        namspaseMap.put("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
-        namspaseMap.put(SchemaGenerator.TARGET_NAMESPACE_PREFIX, SchemaGenerator.TARGET_NAMESPACE);
-        namspaseMap.put("ns1", "http://org.apache.axis2/xsd");
-        namspaseMap.put("xs", "http://www.w3.org/2001/XMLSchema");
-        womDescription.setNamespaces(namspaseMap);
+        HashMap namespaceMap = new HashMap();
+        namespaceMap.put("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
+        namespaceMap.put(SchemaGenerator.TARGET_NAMESPACE_PREFIX, SchemaGenerator.TARGET_NAMESPACE);
+        namespaceMap.put("ns1", "http://org.apache.axis2/xsd");
+        namespaceMap.put("xs", "http://www.w3.org/2001/XMLSchema");
+        womDescription.setNamespaces(namespaceMap);
         womDescription.setTargetNameSpace(SchemaGenerator.TARGET_NAMESPACE);
 
         //generating port type

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java?rev=358123&r1=358122&r2=358123&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java
(original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/Java2WOM.java
Tue Dec 20 14:08:31 2005
@@ -73,12 +73,12 @@
         WSDLDescription womDescription;
         WSDLComponentFactory wsdlComponentFactory = new WSDLDescriptionImpl();
         womDescription = wsdlComponentFactory.createDescription();
-        HashMap namspaseMap = new HashMap();
-        namspaseMap.put("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
-        namspaseMap.put(SchemaGenerator.TARGET_NAMESPACE_PREFIX, SchemaGenerator.TARGET_NAMESPACE);
-        namspaseMap.put("ns1", "http://org.apache.axis2/xsd");
-        namspaseMap.put("xs", "http://www.w3.org/2001/XMLSchema");
-        womDescription.setNamespaces(namspaseMap);
+        HashMap namspaceMap = new HashMap();
+        namspaceMap.put("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
+        namspaceMap.put(SchemaGenerator.TARGET_NAMESPACE_PREFIX, SchemaGenerator.TARGET_NAMESPACE);
+        namspaceMap.put("ns1", "http://org.apache.axis2/xsd");
+        namspaceMap.put("xs", "http://www.w3.org/2001/XMLSchema");
+        womDescription.setNamespaces(namspaceMap);
         womDescription.setTargetNameSpace(SchemaGenerator.TARGET_NAMESPACE);
 
         //generating port type

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java?rev=358123&r1=358122&r2=358123&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Tue Dec 20 14:08:31 2005
@@ -39,8 +39,8 @@
     public static String METHOD_REQUEST_WRAPPER = "Request";
     public static String METHOD_RESPONSE_WRAPPER = "Response";
     public static String TARGET_NAMESPACE = null;
-    public static String SCHEMA_TARGET_NAMESPASE = "http://org.apache.axis2/xsd";
-    public static String SCHEMA_NAMESPASE_PRFIX = "ns1";
+    public static String SCHEMA_TARGET_NAMESPACE = "http://org.apache.axis2/xsd";
+    public static String SCHEMA_NAMESPACE_PRFIX = "ns1";
     public static String TARGET_NAMESPACE_PREFIX = "tns";
 
     public SchemaGenerator(ClassLoader loader, String className,
@@ -50,17 +50,17 @@
         this.className = className;
         TARGET_NAMESPACE = "http://" + className;
         if (scheamtargetNamespace != null && !scheamtargetNamespace.trim().equals(""))
{
-            SCHEMA_TARGET_NAMESPASE = scheamtargetNamespace;
+            SCHEMA_TARGET_NAMESPACE = scheamtargetNamespace;
         }
         if (scheamtargetNamespacePrefix != null && !scheamtargetNamespacePrefix.trim().equals(""))
{
-            SCHEMA_NAMESPASE_PRFIX = scheamtargetNamespacePrefix;
+            SCHEMA_NAMESPACE_PRFIX = scheamtargetNamespacePrefix;
         }
         Hashtable prefixmap = new Hashtable();
-        prefixmap.put(SCHEMA_NAMESPASE_PRFIX, SCHEMA_TARGET_NAMESPASE);
+        prefixmap.put(SCHEMA_NAMESPACE_PRFIX, SCHEMA_TARGET_NAMESPACE);
 
         XmlSchemaCollection schemaCollection = new XmlSchemaCollection();
 
-        schema = new XmlSchema(SCHEMA_TARGET_NAMESPASE, schemaCollection);
+        schema = new XmlSchema(SCHEMA_TARGET_NAMESPACE, schemaCollection);
         schema.setElementFormDefault(new XmlSchemaForm(XmlSchemaForm.QUALIFIED));
         schema.setPrefixToNamespaceMap(prefixmap);
         this.typeTable = new TypeTable();
@@ -197,8 +197,8 @@
 //        eltOuter.setSchemaTypeName(complexType.getQName());
         eltOuter.setSchemaType(complexType);
         // adding this type to the table
-        QName elementName = new QName(SchemaGenerator.SCHEMA_TARGET_NAMESPASE,
-                eltOuter.getName(), SCHEMA_NAMESPASE_PRFIX);
+        QName elementName = new QName(SchemaGenerator.SCHEMA_TARGET_NAMESPACE,
+                eltOuter.getName(), SCHEMA_NAMESPACE_PRFIX);
         typeTable.addComplexScheam(methodName + METHOD_REQUEST_WRAPPER, elementName);
 
         JParameter [] paras = method.getParameters();
@@ -254,8 +254,8 @@
             ret_eltOuter.setName(methodName + METHOD_RESPONSE_WRAPPER);
             schema.getItems().add(ret_eltOuter);
             ret_eltOuter.setSchemaType(retuen_com_type);
-            QName ret_comTypeName = new QName(SchemaGenerator.SCHEMA_TARGET_NAMESPASE,
-                    ret_eltOuter.getName(), SCHEMA_NAMESPASE_PRFIX);
+            QName ret_comTypeName = new QName(SchemaGenerator.SCHEMA_TARGET_NAMESPACE,
+                    ret_eltOuter.getName(), SCHEMA_NAMESPACE_PRFIX);
             typeTable.addComplexScheam(methodName + METHOD_RESPONSE_WRAPPER, ret_comTypeName);
             String classTypeName = retuenType.getQualifiedName();
             boolean isArryType = retuenType.isArrayType();
@@ -294,7 +294,7 @@
             XmlSchemaSequence sequence = new XmlSchemaSequence();
 
             XmlSchemaElement eltOuter = new XmlSchemaElement();
-            QName elemntName = new QName(SCHEMA_TARGET_NAMESPASE, simpleName, SCHEMA_NAMESPASE_PRFIX);
+            QName elemntName = new QName(SCHEMA_TARGET_NAMESPACE, simpleName, SCHEMA_NAMESPACE_PRFIX);
             eltOuter.setName(simpleName);
             eltOuter.setQName(elemntName);
             complexType.setParticle(sequence);



Mime
View raw message