0 Replies Latest reply on Aug 19, 2013 9:19 AM by Joseph Hwang

    [org.apache.cxf.ws.rm.RMInInterceptor] (default task-57) WS-ReliableMessaging is required by this endpoint.

    Joseph Hwang Novice

      With WildFly Alpha 4, I try to implement Java Web Service.

      This is my Web Services Interface,

       

      import javax.jws.WebMethod;
      import javax.jws.WebParam;
      import javax.jws.WebResult;
      import javax.jws.WebService;
      import javax.jws.soap.SOAPBinding;
      import javax.jws.soap.SOAPBinding.ParameterStyle;
      import javax.jws.soap.SOAPBinding.Style;
      import javax.jws.soap.SOAPBinding.Use;
      import javax.xml.ws.soap.Addressing;

      import org.jboss.ws.api.annotation.PolicySets;

      @WebService(
        name="HelloWorldPort",
        portName="com.aaa.ws.IHelloWorld",
        serviceName="HelloWorldService",
        targetNamespace="http://www.aaa.com")
      @SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL, parameterStyle=ParameterStyle.BARE)
      @Addressing(enabled=true, required=false)
      @PolicySets({"WS-RM_Policy_spec_example", "WS-SP-EX223_WSS11_Anonymous_X509_Sign_Encrypt"})
      public interface IHelloWorld {

      @WebMethod(operationName="callNameMethod")
      @WebResult(name="helloEcho")
      public String sayHello(@WebParam(name="helloName", mode=WebParam.Mode.IN) String name);
      }

       

      Deployment is successful, But When calling ws interface, Exception is thrown

       

      [org.apache.cxf.ws.rm.RMInInterceptor] (default task-57) WS-ReliableMessaging is required by this endpoint.

       

      Pls, I need your advice!