[ https://issues.apache.org/jira/browse/AXIS2-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reopened AXIS2-1871: ------------------------------------ The fix [1] actually doesn't check the access modifier of the service class, but of the class specified by ServiceObjectSupplier. [1] http://svn.apache.org/viewvc?view=revision&revision=547064 > 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: Blocker > Fix For: 1.3 > > > 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org