Skip to main content

[WARNING] unknown extensibility element or attribute "JAXWS" with jaxws-tools 2.2.7 and higher - regression?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
appercel
Offline
Joined: 2006-03-13

I've recently changed my maven project in order to use the latest version of the wsimport tool:

<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.3</version>

When I generate the Java artifacts, I have the following warning:
[WARNING] unknown extensibility element or attribute "JAXWS" (in namespace "http://www.w3.org/2000/xmlns/")

Please note that I'm using some jaxws customization files.

If I specify an older version of jaxws-tools in my POM, the warning disappear:

<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-tools</artifactId>
<version>2.2.6</version>

The problem appears again with the version 2.2.7 and 2.2.8 of jaxws-tools.

Is it a known regression ?

Snapshot of the jaxws customization file:

<jaxws:bindings wsdlLocation="../wsdl/services/system/access/management/SystemAccessManagementPort.wsdl"
                version="2.0"
                xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <jaxws:bindings node="wsdl:definitions/wsdl:portType/wsdl:operation/wsdl:fault[@name='accessDeniedFault']">
        <jaxws:class name="com.oce.wave.sei.api.faults.AccessDeniedFault"/>
    </jaxws:bindings>
</jaxws:bindings>

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
michael-o
Offline
Joined: 2013-12-04

Where you able to resolve the issue somehow? I still suffer from.

appercel
Offline
Joined: 2006-03-13

Nope; the only workaround I found so far is to use the version 2.2.6 of this plugin.