Can I create a JAX-WS endpoint with an "Optional" WS-RM feature in JBoss WS ?

Solution Verified - Updated -


  • In our web services we would like to support Web Services with Reliable Messaging (WS-RM).
  • To enable WS-RM in JBoss we added a policy in the WSDL:
    <wsdl:binding name="SampleServiceSoapBinding" type="tns:SampleService">
        <wsp:Policy xmlns:wsp="">
            <wsam:Addressing xmlns:wsam=""
                wsp:Optional="true" />
            <wsrmp:RMAssertion xmlns:wsrmp=""
                wsp:Optional="true" />
  • According to the WS-RM Policy 1.0 (2005/02):

    Per WS-Policy [WS-Policy], this is compact notation for two policy alternatives, one with and one without the assertion. The intuition is that the behavior indicated by the assertion is optional, or in this case, that WS-ReliableMessaging MAY be used.

  • We would like to create web services with an optional WS-ReliableMessaging feature. Is this possible?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.x
    • 6.1.x
    • 6.2.x
  • JBossWS-CXF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content