Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 66415 invoked from network); 6 Jan 2006 04:16:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jan 2006 04:16:57 -0000 Received: (qmail 22696 invoked by uid 500); 6 Jan 2006 04:16:53 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 22665 invoked by uid 500); 6 Jan 2006 04:16:53 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 22653 invoked by uid 99); 6 Jan 2006 04:16:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 20:16:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Jan 2006 20:16:52 -0800 Received: (qmail 53431 invoked from network); 6 Jan 2006 04:16:30 -0000 Received: from unknown (HELO Deepal) (unknown) by unknown with SMTP; 6 Jan 2006 04:16:30 -0000 X-pair-Authenticated: 222.165.181.22 Message-ID: <0d9a01c61277$f7d298a0$c201a8c0@Deepal> From: "Deepal Jayasinghe" To: References: <0ad201c611ae$868e9230$c201a8c0@Deepal> <19e0530f0601051312r77ca8019lb6824fb1507020f@mail.gmail.com> <0d4b01c61272$fc05ad40$c201a8c0@Deepal> <19e0530f0601052004w2d0726a3j3fddfbeff0e05243@mail.gmail.com> Subject: Re: [Axis2] New feature - making java class a web service Date: Fri, 6 Jan 2006 10:16:18 +0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ok , if we all can agree on following then we can publish all the PUBLIC methods in service impl class. - services.xml is just to configure the service , if service impl class has 5 methods and user need to configure only few of them in that case he will add operation tag only for those. - if user list none of the operations in the services.xml then all the public operation will be published , with default message receivers depending on the MEP (we an guess mep by looking at the method signature) . - and if user want to have his own messaerecivers for his operation then he has to list them in services.xml , else default will RawXML*MR pls comment on this soon and I will fix after that. here is my +1 for publishing all the public methods in services impl class. Thanks, Deepal ................................................................ ~Future is Open~ ----- Original Message ----- From: "Davanum Srinivas" To: Sent: Friday, January 06, 2006 10:04 AM Subject: Re: [Axis2] New feature - making java class a web service Deepal, Then we should fix the w2j to generate all the names of the individual operations. if you see the comments in the generated services.xml it says thanks, dims On 1/5/06, Deepal Jayasinghe wrote: > Hi dms > > I am sorry for my late reply , if you deploy service as archive file there > has to be a services.xml describing the service then only that would be a > valid service, second in current impl you need to list all the operation > that you need to publish in services.xml (if you have 4 ops in wsdl and if > you list only 3 ops in services.xml then only those 3 will be available > to > invoke.) , but I don't know this is right or wrong. > > But as I can see some user want to use third party wsdl and want only to > publish few functionally of them , in that case we can write his > services.xml including the operation that he need to publish. > > ??????????? > > Thanks, > Deepal > ................................................................ > ~Future is Open~ > > ----- Original Message ----- > From: "Davanum Srinivas" > To: > Sent: Friday, January 06, 2006 3:12 AM > Subject: Re: [Axis2] New feature - making java class a web service > > > Deepal, > > If i run w2j on the WSDL for AXIS2-243 > (http://issues.apache.org/jira/secure/attachment/12321416/DLDataService.wsdl) > and run the server as per my prev instructions, i don't see the > operations *IF* i don't drop my wsdl. If i drop my wsdl in resources > all's well. So basically there is a problem filling up the operations > of the AxisServer IF the wsdl is missing. > > thanks, > dims > > On 1/4/06, Deepal Jayasinghe wrote: > > > > Hi all; > > > > Sanjiva and I came up with the idea of providing a way to make a java > > class > > into AxisService , so I implemented that last night and it work as we > > wanted. I feel that a very cool feature so if some one does not like to > > write services.xml or wsdl and in the mean while he wants to make java > > class > > into web service now he can do that. > > > > the only requirement is the corresponding java file should be there in > > the > > class path , any way I will improve this to take actual java class not > > the > > name of the java class , in the mean while if I have time I will modify > > web > > admin guide to support this. > > > > Note : To support any (not all) data types I made operation message > > receiver > > as RPCMessageReciver. > > > > > > any comments ...... ? > > > > Thanks, > > Deepal > > ................................................................ > > ~Future is Open~ > > > > > -- > Davanum Srinivas : http://wso2.com/blogs/ > > > -- Davanum Srinivas : http://wso2.com/blogs/