Sorry for my late response, but I was on vacation.

Thank you for the ideas.

Yes, the Error occur also with JbossWS 2.0.1.

I´ve taken the TestSample called 'webservice' of the JbossWS-native-2.0.1GA 
package and modified it by adding a simple TestBean with the @EJB annotation 
inside of the 'EJB3Bean01.java'. See the listing below:

[EJB3Bean01.java]

  | .....
  | public class EJB3Bean01 implements EJB3RemoteInterface
  | {
  |    @EJB
  |    private TestBeanIntf testBean;
  |     
  |    @WebMethod
  |    public String echo(String input)
  |    {
  |       return testBean.printString();
  |    }
  | }
[TestBean.java]
@Stateless
  | @LocalBinding(jndiBinding = "TestBeanIntf")
  | public class TestBean implements TestBeanIntf {
  | 
  |    public String printString(){
  |        return "Hello Peter!!";
  |    }
  | }
This works very well, only if all classes are in the same package, 
if you move the TestBean in another package, the Error I described in the 
startposting occur.
So, I think this is the problem.
Unfortunately, I have more than ten packages with several beans.

Should I create a new Jira Issue and add the whole zipped eclipse project as an 
attachment?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088404#4088404

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088404

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to