WLS 10.3: Clientgen fails with 'part "fault" must specify a "element" attribute'. (Doc ID 1247544.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

A WSDL file contains the following bit:

<wsdl:message name="FaultMessage">
<wsdl:part name="fault" type="ouaf:Fault"/>
</wsdl:message>

When calling clientgen on the WSDL file using JAXWS, the following errors are seen:

[clientgen] [ERROR] in message "FaultMessage", part "fault" must specify a "element" attribute

Changes

N/A.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms