beehive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mm...@apache.org
Subject svn commit: r124033 - in incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm: axis jsr181/util jsr181/wsdl
Date Mon, 03 Jan 2005 23:04:44 GMT
Author: mmerz
Date: Mon Jan  3 15:04:43 2005
New Revision: 124033

URL: http://svn.apache.org/viewcvs?view=rev&rev=124033
Log:
Minor fixes to the XmlBeanTypeMappingUtil and the XmlBeanWSDLProcessor

Deleted the DeploymentDumper

Contributor: Jonathan Colwell


Removed:
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java
Modified:
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java

Deleted: /incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java
Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java?view=auto&rev=124032
==============================================================================

Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java
Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java?view=diff&rev=124033&p1=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java&r1=124032&p2=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java&r2=124033
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java
(original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/util/XmlBeanTypeMappingUtil.java
Mon Jan  3 15:04:43 2005
@@ -65,7 +65,7 @@
         SchemaType st = stl.findType(qType);
         if (st != null) {
             Class xmlClass = st.getJavaClass();
-            String clName = xmlClass.getName();
+            //String clName = xmlClass.getName();
             if (st.isBuiltinType()) {
                 Method[] declared = xmlClass.getDeclaredMethods();
                 Class natural =

Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java
Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java?view=diff&rev=124033&p1=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java&r1=124032&p2=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java&r2=124033
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java
(original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/XmlBeanWSDLProcessor.java
Mon Jan  3 15:04:43 2005
@@ -362,23 +362,27 @@
                                                     // DOC/LIT WSDL
                                                     Group g = ct.getSequence();
                                                     for (Element el : g.getElementArray())
{
-                                                        ClientParameterMetadata wpm =
-                                                            new ClientParameterMetadataImpl();
+
+                                                        if (el.isSetName()
+                                                            && el.isSetType()) {
+                                                            ClientParameterMetadata wpm =
+                                                                new ClientParameterMetadataImpl();
                                          
-                                                        wpm.setWpName(el.getName());
-                                                        // FIXME jcolwell@bea.com 2004-Nov-09
-- double check the namespace stuff
-                                                        wpm.setWpTargetNamespace
-                                                            (s.getTargetNamespace());
+                                                            wpm.setWpName(el.getName());
+                                                            // FIXME jcolwell@bea.com 2004-Nov-09
-- double check the namespace stuff
+                                                            wpm.setWpTargetNamespace
+                                                                (s.getTargetNamespace());
 
-                                                        QName type = el.getType();
-                                                        wpm.setXmlType(type);
-                                                        wpm.setJavaType(getTypeMappingUtil().q2Class(type));
-                                                        /*
-                                                          System.out.println(wpm.getWpName()
-                                                          + " of type "
-                                                          + wpm.getJavaType());
-                                                        */
-                                                        paramList.add(wpm);
+                                                            QName type = el.getType();
+                                                            wpm.setXmlType(type);
+                                                            wpm.setJavaType(getTypeMappingUtil().q2Class(type));
+                                                            /*
+                                                            System.out.println(wpm.getWpName()
+                                                                               + " of type
"
+                                                                               + wpm.getJavaType());
+                                                            */
+                                                            paramList.add(wpm);
+                                                        }
                                                     }
                                                 }
                                             }

Mime
View raw message