users@glassfish.java.net

_at_SOAPMessageHandlers

From: <mark_at_javector.com>
Date: Wed, 01 Mar 2006 14:01:53 -0700

I'm defining server side handlers with the @SOAPMessageHandlers annotation and
they are not getting invoked. Is this implemented yet?

As far as packaging goes, I believe it is sufficient that the handler class be
on the classpath - i.e., bundled in the same WAR as the serivce provider. Is
that correct?

Here is the provider declaration:

@WebServiceProvider(serviceName = "RequestOrder",
    portName="RequestOrderPort",
    targetNamespace = "http://www.example.com/req",
    wsdlLocation="WEB-INF/wsdl/RequestOrder.wsdl")
@ServiceMode(Service.Mode.PAYLOAD)
@SOAPMessageHandlers({
  @SOAPMessageHandler(
      className = "samples.ValidationHandler")
})
public class RequestOrderEndpoint implements Provider<Source> {