Using the JAX-WS Endpoint API it is possible to setup a WS endpoint for a given endpoint
bean and web context.
Prior to the changes above we used to generate webapp descriptors and deployed them
through the client deployer API.
Please show me how to do this in memory. I generate the JBossWebMetaData ,but I don't
have a deployment unit to attach it to.
| DeploymentUnit unit = dep.getAttachment(DeploymentUnit.class);
| if (unit != null)
| {
| unit.addAttachment(JBossWebMetaData.class, jbwmd);
| unit.addAttachment(WebMetaDataModifier.PROPERTY_GENERATED_WEBAPP,
Boolean.TRUE);
| }
| else
| {
| // TODO: endpoint API cannot use an existing deployment unit
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132073#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...