Yes the main problem is that at the time of deployment we do not have access to the parameters passed to the servlet, we need the parameters as it is one of those that contains the class name of the endpoint.
Option 1 was an option so that JBossAS could pass JBossWS all of the configured parameters within the 'org.jboss.metadata.WebMetaData' so we can easily access it.
Option 3 is that we read the web.xml ourselves to extract the parameters.
Option 2 was just an alternative we could follow if we wanted to leave the original web.xml alone so for each deployment we would start with a clean web.xml so JBossWS wouldn't need to be coded to cope with first and second deployments.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978741#3978741
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978741
It is the fact that we don't modify the web.xml again that is the problem for the JSR-181 deployments.
For JSR-109 deployments we do not have a problem because we have a webservices.xml that lists which servlets are actually endpoints.
However for JSR-181 deployments to identify which servlets are actually endpoints we check all of the servlets to see if they are annotated with @WebService, as the JBossWS servlet is not annotated with @WebService the deployment of the JSR-181 endpoint is skipped for all subsequent deployments.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978733#3978733
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978733