For EJB endpoints you can use only @EndpointConfig annotation.
For POJO endpoints you have another one option. You can specify the following
context parameter in your web.xml:
<context-param>
| <param-name>jbossws-config-name</param-name>
| <param-value>Standard WSSecurity Endpoint</param-value>
| </context-param>
or if you have custom config file included in your POJO endpoint archive:
| <context-param>
| <param-name>jbossws-config-name</param-name>
| <param-value>Custom Endpoint Config</param-value>
| </context-param>
| <context-param>
| <param-name>jbossws-config-file</param-name>
| <param-value>WEB-INF/custom-endpoint-config.xml</param-value>
| </context-param>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182544#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...