Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 39597 invoked from network); 19 Nov 2007 23:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 23:28:24 -0000 Received: (qmail 5177 invoked by uid 500); 19 Nov 2007 23:28:11 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 4897 invoked by uid 500); 19 Nov 2007 23:28:10 -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 4886 invoked by uid 99); 19 Nov 2007 23:28:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 15:28:10 -0800 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 lingjia.yang@gmail.com designates 64.233.162.233 as permitted sender) Received: from [64.233.162.233] (HELO nz-out-0506.google.com) (64.233.162.233) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 23:27:57 +0000 Received: by nz-out-0506.google.com with SMTP id l1so1414010nzf for ; Mon, 19 Nov 2007 15:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/+LqVuSumeIG5QVPBW4Mqhr2gmig8eXNDcGdMAF3r4g=; b=qgql2ppAZ7a5rQlWQVSCQWcRtnzmYi28vk53CaxA5ifCt4af9LwxQB0ZnqYDPTMn7FDzKQYsshs2uTDk4+KmJOP0fs83d8hH7eq+PxrqB0gIL0arv+Itx8BgK5q+fVeljxWEOm1vXSSoOVRNPq/csshStOqqtyVC1wo9Y9m4Ig0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z9saEngYcvusVmSo3TgoPRNCQcqLLKbU5xvbgq6PHfTS3edOJjoeZMmNztydHsDotnuAS08evsbEIZySbVgohTVRBZf1sCFpgsy5dkDTKVj9jyqOIzIBUtRPq7JzMP0xIolcKjMx0VjZUvzP308TrevQ6N6C0pIoLtcCoNdG500= Received: by 10.142.47.6 with SMTP id u6mr1369963wfu.1195514869726; Mon, 19 Nov 2007 15:27:49 -0800 (PST) Received: by 10.142.90.21 with HTTP; Mon, 19 Nov 2007 15:27:49 -0800 (PST) Message-ID: <5b0e22540711191527j387b6cf6g5d9b654a8e3b2362@mail.gmail.com> Date: Mon, 19 Nov 2007 16:27:49 -0700 From: "Lingjia Yang" To: "Apache AXIS C User List" Subject: Re: Axis2C: WSDL2C with xmlbeans databinding generates Java files In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5b0e22540711191233r46ce5cc8r83864aa9ff187a07@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Ah.. that explains. Thank you for the information. :) Lingjia On Nov 19, 2007 3:51 PM, Michael Mole wrote: > > Anyone can feel free to correct me if I'm wrong, but I believe the WSDL2C > generation tool only supports the ADB databinding type at this point. > > - Mike > > Michael J Mol=E9 > Software Engineer > IBM Software Group - Rational > (781)676-2710 > > > > "Lingjia Yang" > > 11/19/2007 03:33 PM > > Please respond to > "Apache AXIS C User List" > > > To axis-c-user@ws.apache.org > > cc > > Subject Axis2C: WSDL2C with xmlbeans databinding generates Java files > > > > > > > Hi, > > Sorry for the duplicate posting. I just realized that it would be > more appropriate to send it to this mailing list. > > I am trying to use WSDL2C (from axis2-1.3) to generate client stubs > with xmlbeans databinding. I started with the simple wsdl in > \samples\codegen\databinding\Calculator.wsdl. > > $ ~/tools/axis2/axis2-1.3/bin/axis2.sh org.apache.axis2.wsdl.WSDL2C -uri > Calcul > ator.wsdl -d xmlbeans > > It created 2 directories: src and resources. > > In the src directory, it only has 2 C files: axis2_stub_Calculator.c > axis2_stub_Calculator.h. > > The axis2_stub_Calculator.h includes files that are not generated. > > #include "adb_localhost.axis.calculator.DivResponseDocument.h" > > #include "adb_localhost.axis.calculator.DivDocument.h" > > #include "adb_localhost.axis.calculator.MulResponseDocument.h" > > #include "adb_localhost.axis.calculator.MulDocument.h" > > #include "adb_localhost.axis.calculator.AddResponseDocument.h" > > #include "adb_localhost.axis.calculator.AddDocument.h" > > #include "adb_localhost.axis.calculator.SubResponseDocument.h" > > #include "adb_localhost.axis.calculator.SubDocument.h" > > > All the files under 'localhost' and 'org' directroies are java files. > I tried to specify the language using '-l c' but it didn't help. > > I have also tried with '-d adb -u' and the code generator works fine. > > > Thanks in advance for the help! > > > Lingjia > > --------------------------------------------------------------------- > 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