axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r552754 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Date Tue, 03 Jul 2007 09:12:03 GMT
Author: deepal
Date: Tue Jul  3 02:12:02 2007
New Revision: 552754

URL: http://svn.apache.org/viewvc?view=rev&rev=552754
Log:
we had issues when generating wsdl , where when bean object contains a DataHandler

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=diff&rev=552754&r1=552753&r2=552754
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Tue Jul  3 02:12:02 2007
@@ -580,6 +580,9 @@
         if (isArryType && "byte".equals(propertyName)) {
             propertyName = "base64Binary";
         }
+        if ("javax.activation.DataHandler".equals(propertyName)) {
+            propertyName = "base64Binary";
+        }
 
         if (typeTable.isSimpleType(propertyName)) {
             XmlSchemaElement elt1 = new XmlSchemaElement();



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