Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 46358 invoked from network); 28 Aug 2007 16:53:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2007 16:53:15 -0000 Received: (qmail 79346 invoked by uid 500); 28 Aug 2007 16:53:03 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 79338 invoked by uid 500); 28 Aug 2007 16:53:03 -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 79327 invoked by uid 99); 28 Aug 2007 16:53:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 09:53:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davanum@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 16:52:56 +0000 Received: by an-out-0708.google.com with SMTP id c17so271840anc for ; Tue, 28 Aug 2007 09:52:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O1nj8eJM5K+Oo5OiYYt58rai1mPikR1cAD29oTA1ACl0DcD8LfPrzeEtixzFFp8iw9otk/8QzbE3VF2YJ9aHIrV1UEhQWUOan83mYmCUGwMU+mfCA6q+6FooPv/QIpZQHKLNNqVlymhFw+x2QtyzdT/8B/vvczfoBetcSNNjK+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZPHzMYAbtNBkhaceVYSXeqMZSIoifT9BFqcZkhKVGKKCIOLOIutewow9WoYirzffHuQJcD5+L8gyMi48l3A7LfIJIbe0gCQHMa+OQ3sIArkZ6iL0xW++XSVr/HPTMXNHq1zDBulpPvowW4YPHXrJXdyUf6hIaVMWTIiegzq9XDI= Received: by 10.100.143.11 with SMTP id q11mr2975666and.1188319949708; Tue, 28 Aug 2007 09:52:29 -0700 (PDT) Received: by 10.100.43.6 with HTTP; Tue, 28 Aug 2007 09:52:29 -0700 (PDT) Message-ID: <19e0530f0708280952y13e40c3cl84fd464639327add@mail.gmail.com> Date: Tue, 28 Aug 2007 12:52:29 -0400 From: "Davanum Srinivas" Reply-To: dims@apache.org To: axis-user@ws.apache.org Subject: Re: Query on Document Literal In-Reply-To: <62134E91898A054D9055E0267F1461A78A9738@LONMLVEM05.e2k.ad.ge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <62134E91898A054D9055E0267F1461A78A9738@LONMLVEM05.e2k.ad.ge.com> X-Virus-Checked: Checked by ClamAV on apache.org 1. Only those referenced from wsdl. 2. Check samples\databinding it shows how to use axis2 wsdl2java with castor data binding. My first suggestion is to try ADB (the default databinding), if you don't like it, switch to XmlBeans data binding. If that does not work, roll out your own based on the sample mentioned above. XmlBeans has all the bells and whistles for xml schema restrictions and extensions, but is a bit difficult to program and is a bit slow at runtime. thanks, dims On 8/28/07, Gudla, Natraj (GE Money, consultant) wrote: > Hi, > > We are using AXIS2 1.2 in our project to develop web services around business logic. The proposed solution is to use the IFX standard of XML types for any incoming xml request. Question is on the way AXIS handles the binding mechanisms. I have two questions. > > 1. Are all types converted to classes: Following is our design approach. > > IFX Schema Types -> Extended into GE Schema Types -> Finally used in the project specific XML schema file -> Used to create the ultimate client request xml content. > > While we generate the client stubs or proxies from the wsdl, ( which uses this custom xml schema for soap body ), will axis go onto generate binding classes for all the types defined in IFX, GE schemas or generate binding classes for only the types referrenced from the WSDL? > What we are looking at is if using the IFX schema types will create an over load of huge number of binding classes which may not be used at all. The IFX xml file is some 35K lines. > > 2. Using external binding mechanisms: I have not explored axis documentation to the full extent, but does axis provide a mechanism to use external data binding mechanisms other than the standard ones internally defined. As axis does not support xml restrictions and extensions, we are looking at other binding components. > > Your inputs in this regard will greatly be appreciated. Looking forward for some help. Thanks in advance. > > Cheers > Natraj > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Davanum Srinivas :: http://davanum.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org