Publishing a class without an access modifier as a service
----------------------------------------------------------

                 Key: AXIS2-1871
                 URL: http://issues.apache.org/jira/browse/AXIS2-1871
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
         Environment: any
            Reporter: sumedha rubasinghe
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to