Hi All,
When i export createPerson service of part services with export="true",

i get the below error while trying to access the wsdl

2008-12-18 19:49:17,752 (http-0.0.0.0-8080-1) [
RequestHandler.java:321:ERROR] Request SOAPService caused an error with the
following message: Error calling event:
org.ofbiz.webapp.event.EventHandlerException: Unable to obtain WSDL
(WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL
(birthDate / java.sql.Date))

I found in org.ofbiz.service.ModelParam.java  (java2wsdlType() ) that no
mapping is done for java.sql.Date,

so i manually added the below:

else if (ObjectType.instanceOf(java.sql.Date.class, this.type)) {
            return "string";
        }

Reply via email to