Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 17422 invoked from network); 16 Jan 2009 14:47:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2009 14:47:04 -0000 Received: (qmail 90438 invoked by uid 500); 16 Jan 2009 14:46:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 90401 invoked by uid 500); 16 Jan 2009 14:46:57 -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 90392 invoked by uid 99); 16 Jan 2009 14:46:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 06:46:57 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.44.156] (HELO yx-out-1718.google.com) (74.125.44.156) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 14:46:47 +0000 Received: by yx-out-1718.google.com with SMTP id 6so633167yxn.88 for ; Fri, 16 Jan 2009 06:46:23 -0800 (PST) Received: by 10.90.63.6 with SMTP id l6mr1340005aga.98.1232117183273; Fri, 16 Jan 2009 06:46:23 -0800 (PST) Received: from ?192.168.1.101? (adsl-152-175-9.asm.bellsouth.net [72.152.175.9]) by mx.google.com with ESMTPS id 6sm1115030agd.2.2009.01.16.06.46.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Jan 2009 06:46:21 -0800 (PST) Message-ID: <49709DBB.6010901@opensource.lk> Date: Fri, 16 Jan 2009 09:46:19 -0500 From: Deepal Jayasinghe User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: axis2 inheritance doesn't work? References: <93030aa0901160617w1e6e2137sd68979477f55519e@mail.gmail.com> <4970981D.7050003@opensource.lk> <93030aa0901160642h555c5fd7hce2444a2d003119d@mail.gmail.com> In-Reply-To: <93030aa0901160642h555c5fd7hce2444a2d003119d@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Well you need one more thing, you need to add the MEP attribute into the operation or add the message receiver inside the operation. Like below; For more information read http://wso2.org/library/2060 Thank you! Deepal > Thanks for your replay, Deepal ! > > I try with this configuration: > > > > POJO: AddressBook Service > > > > class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/> > > class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> > > name="ServiceClass">sample.addressbook.service.AddressBookService > > > > > In the wsdl now i see the "parentMethod" method, but it doesn't > generate the correct stub (using JAX-WS for the client). It's seem to > ignore the parent method. > > > > On Fri, Jan 16, 2009 at 3:22 PM, Deepal Jayasinghe > > wrote: > > Actually what I meant to say there was you have inheritance > support for > beans not for the service class. When I developed the POJO I wanted to > support service class inheritance as well, but due to some of the > complexity I stop doing that. > > However implementing that is not hard, only thing you need to is > to add > the operations that you need to expose from the parent classes to > services.xml, then everything would work fine. > > Thank you! > Deepal > > In this article > > (http://www.developer.com/xml/article.php/10929_3726461_3) Deepal > > Jayasinghe introduces the axis2 framework. > > > > "Axis2 POJO supports inheritance, so you can write your service > class > > to extend some other class and publish parent(s) method(s) > > automatically". > > > > I try this example, but in the wsdl generated i don't see the > methods > > of the parent class. > > > > > > What's wrong? > > -- > Thank you! > > > http://blogs.deepal.org > http://deepal.org > > -- Thank you! http://blogs.deepal.org http://deepal.org