- 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="http://www.w3.org/2006/07/ws-policy"> <wsam:Addressing xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata" wsp:Optional="true" /> <wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" wsp:Optional="true" /> </wsp:Policy> ...
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)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.