Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 75350 invoked from network); 15 Apr 2008 20:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 20:18:29 -0000 Received: (qmail 30233 invoked by uid 500); 15 Apr 2008 20:18:29 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 30221 invoked by uid 500); 15 Apr 2008 20:18:29 -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 30207 invoked by uid 99); 15 Apr 2008 20:18:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 13:18:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Carl.Lefrancois@axa-canada.com designates 206.47.141.39 as permitted sender) Received: from [206.47.141.39] (HELO ssmtl104.axa-canada.com) (206.47.141.39) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 20:17:38 +0000 X-AuditID: 0a0102fb-000011d000001d04-dd-48050cdf6b3c Received: from SSMTL101.axa-canada.com ([10.1.2.254]) by ssmtl104.axa-canada.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Apr 2008 16:15:27 -0400 Received: from ([142.216.40.176]) by SSMTL101.axa-canada.com; Tue, 15 Apr 2008 16:05:05 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE : abstract base type support Date: Tue, 15 Apr 2008 16:05:05 -0400 Message-ID: <08CEB0908629C64AB48367CEF2DD01290120D26C@smmtl102.axa.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: abstract base type support Thread-Index: AcifIrMTlhNLHuWUToq0Ysj+CSVszgAEENXQ From: "Lefrancois, Carl" To: "Apache AXIS C User List" X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Hi Dimuthu, Thanks for taking the time to make that clear. Yes, the WSDL2C is = working well with the complex content in my target WSDL. I will make a = quick hack to modify the generated .c files as you suggest. Carl -----Message d'origine----- De : Dimuthu Gamage [mailto:dimuthuc@gmail.com]=20 Envoy=E9 : mardi, avril 15, 2008 13:49 =C0 : Apache AXIS C User List Objet : Re: abstract base type support Hi Carl, Currently WSDL2C doesn't' support abstract base types with = complexContent extension and restriction which requires xsi:type = attribute. But WSDL2C is tested with complexContent other than abstract = base types. In order to have this functionality, we may need to edit the serializing = and deserializing logic inside the adb object corresponding to the base = type. And we may need to provide an API to inform the types of the = element type explicitly. In a case you want to hack the generated code to have this = functionality, my idea is you better go through the adb_**_serialize and = adb_**_deserialize functions for the abstract type. Thanks Dimuthu On Tue, Apr 15, 2008 at 8:13 PM, Lefrancois, Carl = wrote: > Hello, > > Can someone confirm that WSDL2C does not support WSDLs with abstract = > base types? The XML documents generated by my WSDL2C stubs have=20 > validation errors referring to missing xsi:type attributes. I think=20 > the passage below from the Databinding framework reference [1] says=20 > that there is no support for generation of xsi:type attributes yet: > > Known Limitations > ADB is meant to be a 'Simple' databinding framework and was not meant = > to compile all types of schemas. The following limitations are the=20 > most highlighted. 1. Complex Type Extensions and Restrictions. > > If there is some way to enable generation of xsi:type attributes, can = =20 > someone kindly point it out? If this is not a supported feature, are =20 > there any plans for it to be added later, or some effort already =20 > underway? > > Carl > [1] http://ws.apache.org/axis2/1_3/adb/adb-howto.html > _____ > > "Ce message est confidentiel, a l'usage exclusif du destinataire =20 > ci-dessus et son contenu ne represente en aucun cas un engagement de=20 > la part de AXA, sauf en cas de stipulation expresse et par ecrit de=20 > la part de AXA. Toute publication, utilisation ou diffusion, meme=20 > partielle, doit etre autorisee prealablement. Si vous n'etes pas=20 > destinataire de ce message, merci d'en avertir immediatement=20 > l'expediteur." > > "This e-mail message is confidential, for the exclusive use of the =20 > addressee and its contents shall not constitute a commitment by AXA, =20 > except as otherwise specifically provided in writing by AXA. Any =20 > unauthorized disclosure, use or dissemination, either whole or=20 > partial, is prohibited. If you are not the intended recipient of the=20 > message, please notify the sender immediately." > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org