2 Replies Latest reply on Oct 3, 2013 11:18 PM by Joseph Hwang

    @EndpointConfig can't be associated with endpoint configuration file.

    Joseph Hwang Novice

      I use wildfily 8.0.0.alpha4 and eclipse kepler ide and try to implement basic ws-security web service. These are my codes :


      ===== IHelloWorld Interface

      @WebService ( targetNamespace = "http://www.aaa.com/jbossws/ws-extensions/wssecurity" )
      public interface IHelloWorld {

         public String sayHello(@WebParam String name);




           portName = "HelloWorldServicePort",
           serviceName = "HelloWorldService",
           targetNamespace = "http://www.aaa.com/jbossws/ws-extensions/wssecurity",
           endpointInterface = "com.aaa.ws.IHelloWorld"
      @EndpointConfig(configFile = "WEB-INF/jaxws-endpoint-config.xml", configName = "Custom WS-Security Endpoint") // this line does not throw exceptions even for the bug !!!
      public class HelloWorld implements IHelloWorld {

          public String sayHello(String name) {
               // TODO Auto-generated method stub
             return "Hello " + name;



      ====== jaxws-endpoint-config.xml


        <config-name>Custom WS-Security Endpoint-BugMe1</config-name> 













      @EndpointConfig annotation throws no exception for the misprinting bug of  jaxws-endpoint-config.xml. Even more, deployment of the web service is successful.

      Do i miss something? Or is the bug of JBossTools?

      I need your advice desperately. Thanks in advanced !