hi,

i have been using java.util.Calendar for sending datetime!

felt great when i saw the post about axis 1.1 rc1; it said that rc1 supports
java.sql.Date

but i cannot java2wsdl java.sql.Date using rc1. do i need to map it
manually? how?

is it possible to use java.sql.Date as the default datetime type rather than
java.util.Calendar?

- The class java.sql.Date is defined in a java or javax package and cannot
be converted into an xml schema type.  An xml schema anyType will be used to
define this class in the wsdl file.WSDLException: faultCode=OTHER_ERROR:
Can't find prefix for 'http://sql.java'. Namespace prefixes must be set on
the Definition object using the addNamespace(...) method.:        at
com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)        at
com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source)        at
com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)        at
com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)        at
com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)        at
com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)        at
com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)        at
org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267)        at
org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:334)        at
org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:504)        at
org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)CDSSoapBindingImpl.ja
va already exists, WSDL2Java will not overwrite it.


thanks
thomas


Reply via email to