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

Joseph Hwang <[email protected]> Mon, 19 Aug 2013 09:20:34 -0400
Newsgroups gmane.comp.java.jboss.user
Message-ID <[email protected]>
------=_Part_1476217_445440378.1376918434715
Content-Type: multipart/alternative; 
	boundary="----=_Part_1476216_1216682616.1376918434715"

------=_Part_1476216_1216682616.1376918434715
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Joseph Hwang [https://community.jboss.org/people/aupres] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/833066#833066

--------------------------------------------------------------
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/ 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!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833066#833066]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]


------=_Part_1476216_1216682616.1376918434715
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link=3D"#355491" alink=3D"#4262a1" vlink=3D"#355491" style=3D"backgro=
und: #e2e2e2; margin: 0; padding: 20px;">

<div>
=09<table cellpadding=3D"0" bgcolor=3D"#FFFFFF" border=3D"0" cellspacing=3D=
"0" style=3D"border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -=
moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09<tbody>
=09=09=09<tr>

=09=09=09=09<td>

=09=09=09=09=09<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" bgco=
lor=3D"#FFFFFF" style=3D"border: solid 2px #ccc; background: #dadada; width=
: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09=09=09=09=09<tbody>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#000000" valign=3D"middle" height=3D=
"58px" style=3D"border-bottom: 1px solid #ccc; padding: 20px; -moz-border-r=
adius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-ri=
ght-radius: 5px; -webkit-border-top-left-radius: 5px;">
=09=09=09=09=09=09=09=09=09<h1 style=3D"color: #333333; font: bold 22px Ari=
al, Helvetica, sans-serif; margin: 0; display: block !important;">
=09=09=09=09=09=09=09=09=09<!-- To have a header image/logo replace the nam=
e below with your img tag -->
=09=09=09=09=09=09=09=09=09<!-- Email clients will render the images when t=
he message is read so any image -->
=09=09=09=09=09=09=09=09=09<!-- must be made available on a public server, =
so that all recipients can load the image. -->
=09=09=09=09=09=09=09=09=09<a href=3D"https://community.jboss.org/index.jsp=
a" style=3D"text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
=09=09=09=09=09=09=09=09</td>

=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#FFFFFF" style=3D"font: normal 12px =
Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-ra=
dius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-b=
ottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style=
=3D"margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    [org.apache.cxf.ws.rm.RMInInterceptor] (default task-57) WS-ReliableMes=
saging is required by this endpoint.
</h3>
<span style=3D"margin-bottom: 10px;">
    created by <a href=3D"https://community.jboss.org/people/aupres">Joseph=
 Hwang</a> in <i>JBoss Web Services</i> - <a href=3D"https://community.jbos=
s.org/message/833066#833066">View the full discussion</a>
</span>
<hr style=3D"margin: 20px 0; border: none; background-color: #dadada; heigh=
t: 1px;">

<div class=3D"jive-rendered-content"><p>With WildFly Alpha 4, I try to impl=
ement Java Web Service.</p><p>This is my Web Services Interface,</p><p styl=
e=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>import javax=
.jws.WebMethod;<br/>import javax.jws.WebParam;<br/>import javax.jws.WebResu=
lt;<br/>import javax.jws.WebService;<br/>import javax.jws.soap.SOAPBinding;=
<br/>import javax.jws.soap.SOAPBinding.ParameterStyle;<br/>import javax.jws=
.soap.SOAPBinding.Style;<br/>import javax.jws.soap.SOAPBinding.Use;<br/>imp=
ort javax.xml.ws.soap.Addressing;</p><p>import org.jboss.ws.api.annotation.=
PolicySets;</p><p>@WebService(<br/>name=3D"HelloWorldPort", <br/>portName=
=3D"com.aaa.ws.IHelloWorld",<br/>serviceName=3D"HelloWorldService",<br/>tar=
getNamespace=3D"<a class=3D"jive-link-external-small" href=3D"http://www.aa=
a.com/" rel=3D"nofollow">http://www.aaa.com</a>")<br/>@SOAPBinding(style=3D=
Style.DOCUMENT, use=3DUse.LITERAL, parameterStyle=3DParameterStyle.BARE)<br=
/>@Addressing(enabled=3Dtrue, required=3Dfalse)<br/>@PolicySets({"WS-RM_Pol=
icy_spec_example", "WS-SP-EX223_WSS11_Anonymous_X509_Sign_Encrypt"})<br/>pu=
blic interface IHelloWorld {</p><p>@WebMethod(operationName=3D"callNameMeth=
od")<br/>@WebResult(name=3D"helloEcho")<br/>public String sayHello(@WebPara=
m(name=3D"helloName", mode=3DWebParam.Mode.IN) String name);<br/>}</p><p st=
yle=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Deployment=
 is successful, But When calling ws interface, Exception is thrown</p><p st=
yle=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>[org.apach=
e.cxf.ws.rm.RMInInterceptor] (default task-57) WS-ReliableMessaging is requ=
ired by this endpoint.</p><p style=3D"min-height: 8pt; height: 8pt; padding=
: 0px;">&#160;</p><p>Pls, I need your advice!</p></div>

<div style=3D"background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style=3D"margin: 0;">Reply to this message by <a href=3D"https://com=
munity.jboss.org/message/833066#833066">going to Community</a></p>
=09<p style=3D"margin: 0;">Start a new discussion in JBoss Web Services at =
<a href=3D"https://community.jboss.org/choose-container!input.jspa?contentT=
ype=3D1&containerType=3D14&container=3D2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>
------=_Part_1476216_1216682616.1376918434715--

------=_Part_1476217_445440378.1376918434715
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
------=_Part_1476217_445440378.1376918434715--