The tutorial is outdated (NB 5.0) and was meant for J2EE 1.4 projects
which used JAXRPC for web services. Since you need EE5 in JBoss, you
will have to configure it with JAXWS (EE5) handlers which implement
javax.xml.ws.handler.LogicalHandler or javax.xml.ws.handler.Handler.
Simply create a class that implements any of these interfaces
(depending on whether you want access to the entire message or not) and
then configure it with the service using Netbeans.
Rico
Sascha wrote:
> hi,
>
> i am trying to add an web service handler following the tutorial
>
>
http://www.netbeans.org/kb/50/quickstart-webservice.html>
> i am using netbeans 6 and jboss application server
>
> when i add MyHandler the class is generated like this
>
> public class MyMessageHandler extends
> javax.xml.rpc.handler.GenericHandler {
>
> ...
>
> }
>
> but when i try to confige the handler on my webservice
>
> i got
>
> you selected a class that is not a message handler . Message Handler
> classes should implement javax.xml.ws.handler.LogicalHandler or
> implement javax.xml.ws.handler.Handler
>
> what might be wrong?