this the simple source code i used in my web service:
@RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class EJB3Bean01 implements EJB3RemoteInterface
public String echo(String input)
public interface EJB3RemoteInterface
String echo(String input);
and then i packaged them in jar file
can any body tell me what is wrong and why my handler doesnot print anything, please.
any seggestion is appreciated
The first thing is not to put your handler in jbossws packages. Keep them private to your application, that is a custom package.
In order to deploy it with your actual endpoint you need to specify a @HandlerChain that points to your handler declaration.
Did you read the userguide?
i am aware of this way (@HandlerChain ), but what i am trying to do is:
Intecept soap message without the need to modify or add any code to the client or the endpoint code.
I need something that helps me to intercept any soap message comes in or out of the jboss server.
So, is there a way of doing this, please
Yes you can. You can modify the standard templates available here
See http://labs.jboss.com/jbossws/user-guide/en/html/1.0.4/en/html/endpoints.html section "4.4. Endpoint configuration templates"