This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This is mostly a cosmetic issue but it might confuse users. Steps to reproduce: 1) Create web application and add web service 2) "Edit Web Service Attributes". Go to Quality Of Service tab. 3) Enable Reliable Messaging. (I had a few more options enabled, not sure if that is necessary to trigger the bug. I had also disabled and reenabled RM before.) The generated policy looks like this: <wsp:Policy wsu:Id="NewWebServicePortBindingPolicy"> <wsp:ExactlyOne> <wsp:All> <wsaw:UsingAddressing xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" wsp:Optional="false"/> <wsrm:RMAssertion/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> The UsingAddressing assertion should not have the Optional attribute because Optional="false" is the default for policy assertions anyway.
It doesn't really break anything, just a minor tweak, thus lowering priority.
Fixed by https://hg.netbeans.org/web-main/rev/623c0ea609a6
Integrated into 'main-silver', will be available in build *201506050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/623c0ea609a6 User: Jan Stola <jstola@netbeans.org> Log: #150537: should not generate Optional="false" policy assertion attribute