users@glassfish.java.net

Re: _at_SOAPMessageHandlers

From: Stephen DiMilla <Stephen.Dimilla_at_Sun.COM>
Date: Wed, 01 Mar 2006 21:12:07 -0500

Use @HandlerChain instead.

steved

Mark Hansen wrote:

> JSR-181 Version 1.0 (June 1, 2005) - Section 4.8
>
> Stephen DiMilla wrote:
>
>> Mark
>>
>> What specification are you looking at that shows the
>> @SOAPMessageHandlers and
>> @SOAPMessageHandler
>>
>> Stephen DiMilla
>> Sun Microsystems
>>
>>
>> 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
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>