Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 50786 invoked from network); 27 May 2008 20:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 20:08:53 -0000 Received: (qmail 78109 invoked by uid 500); 27 May 2008 20:08:54 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 78094 invoked by uid 500); 27 May 2008 20:08:54 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 78083 invoked by uid 99); 27 May 2008 20:08:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 13:08:53 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amra@us.ibm.com designates 32.97.182.144 as permitted sender) Received: from [32.97.182.144] (HELO e4.ny.us.ibm.com) (32.97.182.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 20:08:04 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m4RK8IdR027655 for ; Tue, 27 May 2008 16:08:18 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4RK8I0K139638 for ; Tue, 27 May 2008 16:08:18 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4RK8HrF020776 for ; Tue, 27 May 2008 16:08:18 -0400 Received: from d27ml101.rchland.ibm.com (d27ml101.rchland.ibm.com [9.10.229.40]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m4RK8HYp020766; Tue, 27 May 2008 16:08:17 -0400 In-Reply-To: <30A5F9D51C0D9D47BD8D89C85B49E70002028D77@EVS2.corp.rightnow.com> To: "McCullough, Ryan" Cc: "Apache AXIS C User List" MIME-Version: 1.0 Subject: RE: No answers? X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: From: Nadir Amra Date: Tue, 27 May 2008 15:09:05 -0500 X-MIMETrack: Serialize by Router on d27ml101/27/M/IBM(Release 8.0.1|February 07, 2008) at 05/27/2008 03:08:56 PM, Serialize complete at 05/27/2008 03:08:56 PM Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org Ryan, I believe all three problems are resolved and have been put into SVN. Please try the latest code in SVN and let me know the results. Thanks. Nadir Amra "McCullough, Ryan" wrote on 05/23/2008 11:22:37 AM: > Here are a list of issues I encountered with the generated soap objects. > > > 1) I found a bug in BeanParamWriter.java. > > In writeRestrictionCheckerFunction(), the opening brace '{' was not being > commented out. > > writer.write( "//)\n\t{\n"); > > should be > > writer.write( "//)\n"); > writer.write( "//\t{\n"); > > Notice how there was a newline, then a tab and the open brace with no > comment. This caused compilation errors. > > > > 2) I also think I found a problem with XSD_DOUBLE and XSD_DATETIME. > > I have this in my schema xsd: > > > type="currency" /> > type="xs:double" /> > type="xs:long" /> > type="xs:string" /> > type="dttm" /> > > > > It was generating this code in the "Serialize sub-elements." section: > else if(param->dval) > { > if (param->dval != NULL) > pSZ->serializeAsElement("dval", Axis_URI_Ac_value, > (void*)(*(param->dval)), XSD_DOUBLE); > } > // snipped irrelevant code > else if(param->tval) > { > if (param->tval != NULL) > pSZ->serializeAsElement("tval", Axis_URI_Ac_value, > (void*)(*(param->tval)), XSD_DATETIME); > } > > When I tried to compile this file, I received these 2 errors: > error C2440: 'type cast' : cannot convert from 'double' to 'void *' > error C2440: 'type cast' : cannot convert from 'struct tm' to 'void *' > > If I removed the de-reference * from param, the compile errors went away. > pSZ->serializeAsElement("dval", Axis_URI_Ac_value, (void*)(param->dval), > XSD_DOUBLE); > pSZ->serializeAsElement("tval", Axis_URI_Ac_value, (void*)(param->tval), > XSD_DATETIME); > > > > 3) I received warnings all over the place about peekedElementName not being > used (unreferenced). --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org