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.
Steps to reproduce: 1. Create a web application with a web service 2. Edit Web Service Attributes 3. Choose an operation and set Transaction: Required This is the wsit config that got generated for me: <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="NewWebServiceService" targetNamespace="http:// test.ws.xml.sun.com/" xmlns:tns="http://test.ws.xml.sun.com/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:fi="http:// java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/service" xmlns:tcp="http://java.sun.com/xml/ns/wsit/2006/09/policy/ soaptcp/service" xmlns:wsat="http://schemas.xmlsoap.org/ws/2004/10/wsat" xmlns:wsp1="http://schemas.xmlsoap.org/ ws/2004/09/policy" > <message name="echo"/> <message name="echoResponse"/> <portType name="NewWebService"> <operation name="echo"> <input message="tns:echo"/> <output message="tns:echoResponse"/> </operation> </portType> <binding name="NewWebServicePortBinding" type="tns:NewWebService"> <wsp:PolicyReference URI="#NewWebServicePortBindingPolicy"/> <operation name="echo"> <wsp:PolicyReference URI="#NewWebServicePortBinding_echo_Policy"/> <input/> <output/> </operation> </binding> <service name="NewWebServiceService"> <port name="NewWebServicePort" binding="tns:NewWebServicePortBinding"/> </service> <wsp:Policy wsu:Id="NewWebServicePortBindingPolicy"> <wsp:ExactlyOne> <wsp:All/> </wsp:ExactlyOne> </wsp:Policy> <wsp:Policy wsu:Id="NewWebServicePortBinding_echo_Policy"> <wsp:ExactlyOne> <wsp:All> <wsat:ATAssertion wsp1:Optional="true"/> <wsat:ATAlwaysCapability/> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> </definitions> The NewWebServicePortBindingPolicy does not really make much sense and should simply be removed along with the reference to it. (Unless WS-AT requires that policy at the endpoint scope but I doubt that it does.)
Adjusting priority.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss