Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 64190 invoked from network); 11 Oct 2007 09:31:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 09:31:38 -0000 Received: (qmail 87783 invoked by uid 500); 11 Oct 2007 09:31:18 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 87761 invoked by uid 500); 11 Oct 2007 09:31:18 -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 87750 invoked by uid 99); 11 Oct 2007 09:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 02:31:18 -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 zhangzhongl@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 09:31:22 +0000 Received: by wx-out-0506.google.com with SMTP id r21so426318wxc for ; Thu, 11 Oct 2007 02:31:01 -0700 (PDT) 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=8w8l6F3bEOUxAwFiUdpMYj4rjLnXQ8IOQ6g1eMblon4=; b=dbh42GV/iupNfyz/fVfJuSfwfGrtEfMIFDyrv3u8K9YH9mP3RzZlj+Ck3WoqWmNek4d+wVKM9M7QdVQm/Pbd1j19olSgWRgpPPMMiMd/Y3aj8PtGTRKWF6X1MpRsd5eDEQj6/Rk/S893lJdFT65bZxSexImVutd0MTKWw4AvjmY= 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=IdFpFCT5urXUOv1oEGYLOKL0qqVNWyqB953jYsEclvMwuY7/YVOwe/yxnuMgjHmTFTMS2MzW7dyu2ahS2NmHrlkRg5tOMPQtB0T/HoUSZr4H1WindT0NyQKJQ2yCCYFiE6MWXCttKk+loOLvAxuQ/f6Q/alX4r7SB+y6suALZws= Received: by 10.70.52.1 with SMTP id z1mr2867699wxz.1192095061825; Thu, 11 Oct 2007 02:31:01 -0700 (PDT) Received: by 10.70.25.4 with HTTP; Thu, 11 Oct 2007 02:31:01 -0700 (PDT) Message-ID: <1845a8f0710110231v4eb159b2y163a7b48faa86481@mail.gmail.com> Date: Thu, 11 Oct 2007 18:31:01 +0900 From: "zhongliang zhang" To: axis-user@ws.apache.org Subject: Re: Axis2: how to generate services.xml In-Reply-To: <5C243BD898DAAF45813B837ADC5B866B8241C4@alpha-srv200.as1.alphasolutions.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5C243BD898DAAF45813B837ADC5B866B8240CA@alpha-srv200.as1.alphasolutions.dk> <470DC408.2070808@gmail.com> <5C243BD898DAAF45813B837ADC5B866B8241C4@alpha-srv200.as1.alphasolutions.dk> X-Virus-Checked: Checked by ClamAV on apache.org Why not write it by yourself,it is simple if you follow the services configuration guide. On 11/10/2007, Peter A. Kirk wrote: > -----Oprindelig meddelelse----- > Fra: Deepal jayasinghe [mailto:deepalk@gmail.com] > Sendt: 11. oktober 2007 08:35 > Til: axis-user@ws.apache.org > Emne: Re: Axis2: how to generate services.xml > > >Peter A. Kirk wrote: > >> Hi there > >> > >> I have written a small program which generates and compiles a > >> web-service class and then creates a wsdl for this class. > >> > >> But how do I generate services.xml for the class? > >> > >> For example, to generate the wsdl file programmatically, I do this > (and > >> I would appreciate it if someone could tell me a better way): > >> > >> String[] parms = new String[] {"-cp", ".", "-cn", > >> "dk.alpha.ws.MyService", "-o", "c:/myservice", "-of", > "MyService.wsdl"}; > >> > >pass -s and -sd option as well , then it will generate services.xml as > well > > Hi - aren't those options for wsdl2java? > > I have tried -ss and -sd with wsdl2java, but then there are other java > "skeleton" files generated as well, which I don't want as I already have > my own java class and wsdl - all I want is a services.xml, nothing else. > > (I can't find those options in java2wsdl - am I missing something?) > > Thanks, > Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org