java2wsdl generally observes the following mappings:
java.util.Calendar --> xsd:dateTime java.util.Date --> xsd:dateTime If you're not seeing this then there's likely something wrong -- like maybe an old jar file laying around on your classpath. or a problem with how you are executing java2wsdl, or an issue with the interface definition file you are using. If you could cut & paste the java method you are using along with the wsdl it generates, that may be useful in helping to resolve this. |---------+-----------------------------> | | | | | James Black | | | <[EMAIL PROTECTED]> | | | 06/18/2003 12:35 PM | | | Please respond to axis-user| | | | |---------+-----------------------------> >-----------------------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) | | Subject: Re: Extend the class Date | >-----------------------------------------------------------------------------------------------------------------------------| Slimane Amar wrote: >I have got the same error with Calendar. > > There should be a mapping for java.util.Calendar to an xml schema, actually. Can you paste your method from the interface and the error? Also, have you ensured that java2wsdl is calling the new version? If you have a prior version in a jar file that is being found first then that will be used. -- "We do not lose our identity in our relations with others; in part, at least, we achieve our identity by those relations." Tony Blair, 1993 --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. ---------------------------------------------------------------------------