You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/12/18 05:08:16 UTC

svn commit: r605076 - /ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java

Author: jleroux
Date: Mon Dec 17 20:08:16 2007
New Revision: 605076

URL: http://svn.apache.org/viewvc?rev=605076&view=rev
Log:
Applied fix from trunk for revision: 605075

Modified:
    ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java

Modified: ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java?rev=605076&r1=605075&r2=605076&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java (original)
+++ ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ModelParam.java Mon Dec 17 20:08:16 2007
@@ -200,7 +200,12 @@
             return "dateTime";
         } else if (ObjectType.instanceOf(java.util.Date.class, this.type)) {
             return "dateTime";
+        } else if (ObjectType.instanceOf(java.lang.Long.class, this.type)) {
+            return "unsignedInt";
+        } else if (ObjectType.instanceOf(java.sql.Timestamp.class, this.type)) {
+            return "string";
         }
+
         // TODO add array support (maybe even convert List objects); add GenericValue/Map support
         throw new WSDLException(WSDLException.OTHER_ERROR, "Service cannot be described with WSDL (" + this.name + " / " + this.type + ")");
     }