Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 36933 invoked from network); 22 Jan 2006 03:50:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jan 2006 03:50:31 -0000 Received: (qmail 18633 invoked by uid 500); 22 Jan 2006 03:50:23 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 18624 invoked by uid 500); 22 Jan 2006 03:50:23 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 18613 invoked by uid 99); 22 Jan 2006 03:50:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2006 19:50:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cyrille.leclerc@gmail.com designates 64.233.162.197 as permitted sender) Received: from [64.233.162.197] (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2006 19:50:22 -0800 Received: by zproxy.gmail.com with SMTP id f1so729739nzc for ; Sat, 21 Jan 2006 19:50:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KlBwLS0wCwTQ4Cocws62g2mdoUEXEd3T8TUKcyifj2BVNEkNOe8mxR6M+mAGYzI7fkWiuzmDVFG3nyexLSG3762OuVdhyaBCVALrhuY6duQdRyIOWwQWkwXBFF7Pxlh/McaXNzoAlaf1Gn+r7GXkpfCdY/nhr8DEF0Cagu88gkY= Received: by 10.37.2.65 with SMTP id e65mr2772313nzi; Sat, 21 Jan 2006 19:50:01 -0800 (PST) Received: by 10.36.157.5 with HTTP; Sat, 21 Jan 2006 19:50:01 -0800 (PST) Message-ID: Date: Sun, 22 Jan 2006 04:50:01 +0100 From: Cyrille Le Clerc Sender: cyrille.leclerc@gmail.com To: axis-user@ws.apache.org Subject: Re: Newbie help In-Reply-To: <6.1.0.6.0.20060121183416.022f7f40@mail.adelphia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.1.0.6.0.20060121183416.022f7f40@mail.adelphia.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Simon, The common java type to map a date in SOAP messages is java.util.Calendar. You should prefer Calendar to java.util.Date, java.sql.Date, java.sql.Timestamp or java.sql.Time. It is the best practice ; everybody will expect this even if some people will find it is awkward. Note that the java.util.Date sould be supported by javaToWsdl but it is not a best practice. Some resources : - Axis doc "How your Java types map to SOAP XML types" : http://ws.apache.org/axis/java/user-guide.html#HowYourJavaTypesMapToSOAPXML= Types - BEA doc "Data Types and Data Binding" : http://e-docs.bea.com/wls/docs91/webserv/data_types.html Hope this helps, Cyrille -- Cyrille Le Clerc cyrille.leclerc@pobox.com cyrille.leclerc@fr.ibm.com On 1/22/06, Simon Nunn wrote: > I am running into the following error when running java2wsdl/wsdl2java an= t > tasks...how do I > correct it? > > > " Type {http://sql.java}Timestamp is referenced but not defined."