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.
Hello, for Netbeans 6.9.1 (and also 6.8), the Policy generator is generating wsam:Assertion elements of this format: <wsam:Addressing wsp:Optional="false"/> However, the wsam:Addressing element is required to have exactly one wsp:Policy element (even if empty): <wsam:Addressing wsp:Optional="false"> <wsp:Policy/> </wsam:Addressing> XML Schema: http://www.w3.org/2007/05/addressing/metadata/ws-addr-metadata.xsd Addressing Element: <xs:element name="Addressing"> <xs:complexType> <xs:sequence> <xs:element ref="wsp:Policy"/> </xs:sequence> <xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType> </xs:element> Here are examples in the Addressing Recommendation showing this: http://www.w3.org/TR/2007/WD-ws-addr-metadata-20070516/#policyexamplesincompact Usage of NetBeans-generated schemas is causing problems with Apache CXF clients, with errors being raised because of the missing Policy element.
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