Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 35497 invoked from network); 13 Aug 2009 09:33:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 09:33:16 -0000 Received: (qmail 6457 invoked by uid 500); 13 Aug 2009 09:33:20 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 6357 invoked by uid 500); 13 Aug 2009 09:33:20 -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 6347 invoked by uid 99); 13 Aug 2009 09:33:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 09:33:20 +0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of samwongcn@gmail.com designates 209.85.222.180 as permitted sender) Received: from [209.85.222.180] (HELO mail-pz0-f180.google.com) (209.85.222.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 09:33:06 +0000 Received: by pzk10 with SMTP id 10so525418pzk.28 for ; Thu, 13 Aug 2009 02:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5oSI1jtQNpCzK/KFaPFP120KW5iurPCCwiy8xhgqb0c=; b=a61gd4IK29m8HcmRZUIX4j8klM73H2bkSk5SwusxXNFoQR4BkYUJ4jczfHaOYBd8NR 2iiLaFBJXSzSWIBvxbU0jyiTa0Rjgnc8BI4zJ7IEcTTElKYjq4khgWk+dLB8Dt/qn7X4 wzP1s1uqjSyre2zpQxOOcg0W22WjKwo0lxf0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=T4Yeyp+A2ypfvGCOr3HB43VDSasAfqgBD2gQAkwmyOnXGvzuj28hSeBY8KO/5GEHjn WnuYRW5VV9NqQ4LkbDxq+03HRu3JJeRL1r94/fE05VRb5DOK6rfoBmIFwqHr6c0zgJyI D5lSrm8KJTg3W3Gxo7ff/Ldb4TspOQjqHAFCI= MIME-Version: 1.0 Received: by 10.114.169.10 with SMTP id r10mr844423wae.140.1250155964240; Thu, 13 Aug 2009 02:32:44 -0700 (PDT) In-Reply-To: <474d01b00908130204i5e030e4ct4f8123163fd26749@mail.gmail.com> References: <474d01b00908130204i5e030e4ct4f8123163fd26749@mail.gmail.com> Date: Thu, 13 Aug 2009 17:32:44 +0800 Message-ID: Subject: Re: how can only public some spring bean method as method! From: sam wong To: axis-user@ws.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Dear Sagara, how about I just only public some method as web server method? how to write services.xml? another question: where is the full structure services.xml ? Thanks Sam Wong 2009/8/13 Sagara Gunathunga : > Hi Sam, > > In the service.xml file you can exclude unwanted operations using > using "excludeOperations" as follows. > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0getUserAccountM= anager > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0setUserAccountM= anager > > > Thanks , > > > On Thu, Aug 13, 2009 at 2:13 PM, sam wong wrote: >> Hi,All >> >> I have a spring Bean with many many method. >> >> >> but some method i don't want to public as =A0WebService Method. >> like: >> =A0 =A0public IUserAccountManager getUserAccountManager() { >> =A0 =A0 =A0 =A0return userAccountManager; >> =A0 =A0} >> =A0 =A0public void setUserAccountManager(IUserAccountManager userAccount= Manager) { >> =A0 =A0 =A0 =A0this.userAccountManager =3D userAccountManager; >> =A0 =A0} >> >> >> when i use c# client, I still can see this method too... >> what should i do? >> >> >> >> the follow is my services.xml: >> >> =A0 >> =A0 =A0 >> =A0 =A0 =A0 =A0simple spring example >> =A0 =A0 >> =A0 =A0org.apache.axis2.extens= ions.spring.receivers.SpringServletContextObjectSupplier >> =A0 =A0dataSetServiceEnquiry >> =A0 =A0 >> =A0 =A0 >> =A0 =A0 =A0 =A0> class=3D"org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> >> =A0 =A0 >> =A0 =A0 >> =A0 =A0 =A0 =A0> class=3D"org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> >> =A0 =A0 >> >> >> >> >> >> >> >> Thanks, >> Sam Wong >> > > > > -- > Sagara Gunathunga > > Blog - http://ssagara.blogspot.com > Web - http://sagaras.awardspace.com/ >