geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <>
Subject Re: Deploying Web Services and Geronimo 2.1
Date Fri, 22 Feb 2008 09:50:01 GMT
On Tue, Feb 19, 2008 at 1:07 AM, fmchale <> wrote:

>  I am new to using geronimo and Java EE in general, so pardon me if my
>  question is something quite simple and redundant.  I have built an ear
>  application that contains session beans and a war application.  I would like
>  also to have those session beans availale as web services.  From my reading
>  and research, if I use jaxws-2.0 I do not have to create a wsdl file or any
>  others.  All I should have to do is add the appropriate annotation.  So I
>  added the @WebService annotation to the interface of the bean I wish to make
>  available (there is only one stateless session bean anyway).  When I attempt
>  to deploy the project I recieve a null pointer acception?  Am I missing
>  something with my research?

No, you are not. You're right - it boils down to annotating a bean
class with @WebService. Could you should the bean class? I think you
specified @Local annotation and it causes the NPE, but it should have
not actually.


Jacek Laskowski

View raw message