users@glassfish.java.net

Re: _at_SOAPMessageHandlers

From: Vijay Ramachandran <Vijay.Ramachandran_at_Sun.COM>
Date: Wed, 01 Mar 2006 14:33:39 -0800

http://jcp.org/aboutJava/communityprocess/maintenance/jsr181/181ChangeLog.html, item 14

SOAPMessageHandlers are not supported in JAXWS - @HandlerChain is the
JAXWS supported way for handlers.

Vijay

On Wed, 2006-03-01 at 13:01, mark_at_javector.com wrote:
> 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> {
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>