[jboss-dev-forums] [JBoss Web Services Development] - Re: Can I modify the HandlerChain at deploy time?
Paul Robinson
do-not-reply at jboss.com
Thu Feb 9 07:28:40 EST 2012
Paul Robinson [https://community.jboss.org/people/paul.robinson] created the discussion
"Re: Can I modify the HandlerChain at deploy time?"
To view the discussion, visit: https://community.jboss.org/message/715497#715497
--------------------------------------------------------------
Alessio,
> Alessio Soldano wrote:
>
> >
> > > in 4) you should check if there's a WebServicesMetaData attachment; if that's the case, you need to update the existing one, otherwsise the data in it would be lost
> > Yes, that makes sense. I couldn't find a reference to webservices.xml in the JAX-WS spes. Is this just a JAX-RPC feature?
> It's actually a JSR 109 concept; the webservices.xml is mandatory for JAX-RPC and optional for JAX-WS.
I can see what I need to do here. It doesn't look like it will be a problem, but I've not tried it yet.
>
> > to answer your question on the actual need for populating WS_ENDPOINT_HANDLERS_MAPPING_KEY attachment, yeah, that's required for having the AS7 components properly created for your handlers too.
> What AS7 components do you mean here?
>
> I'm referring to the AS7 org.jboss.as.ee.component.ComponentDescription . The org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_HANDLER that's registered at Phase.PARSE_JAXWS_HANDLER_CREATE_COMPONENT_DESCRIPTIONS uses the WSEndpointHandlersMapping data for propagating the naming context in the component descriptors.
Great, I have that working now.
So, it looks like I have this feature under control now. Thanks again for your help, I would have really struggled without it.
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/715497#715497]
Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120209/8bb85217/attachment.html
More information about the jboss-dev-forums
mailing list