Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 39169 invoked from network); 6 Jan 2011 11:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 11:27:12 -0000 Received: (qmail 11850 invoked by uid 500); 6 Jan 2011 11:27:10 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 11483 invoked by uid 500); 6 Jan 2011 11:27:09 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 11090 invoked by uid 99); 6 Jan 2011 11:27:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 11:27:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 11:27:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p06BQjnj019709 for ; Thu, 6 Jan 2011 11:26:45 GMT Message-ID: <10110450.185821294313205807.JavaMail.jira@thor> Date: Thu, 6 Jan 2011 06:26:45 -0500 (EST) From: "Afkham Azeez (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Resolved: (AXIS2-1871) Publishing a class without an access modifier as a service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Afkham Azeez resolved AXIS2-1871. --------------------------------- Resolution: Fixed > Publishing a class without an access modifier as a service > ---------------------------------------------------------- > > Key: AXIS2-1871 > URL: https://issues.apache.org/jira/browse/AXIS2-1871 > Project: Axis2 > Issue Type: Bug > Components: kernel > Environment: any > Reporter: sumedha rubasinghe > Assignee: Deepal Jayasinghe > Priority: Minor > Fix For: 1.6 > > > A class without any access modifier is allowed to be published as a service. > eg: > class HelloService1 > { > public String sayHello(String name){ > return "Hello "+name; > } > } > Everything works as normal until the time a client invokes a method. > Then following exception is thrown from AbstractMessageReceiver -> makeNewServiceObject(..). > Class org.apache.axis2.receivers.AbstractMessageReceiver can not access a member of class xxx.xxx.xxx with modifiers "". > But this error is also not thrown to client level, thus making trouble shooting very difficult. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org