JBoss Community

Re: Can I modify the HandlerChain at deploy time?

created by Paul Robinson in JBoss Web Services Development - View the full discussion

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

Start a new discussion in JBoss Web Services Development at Community