My Oracle Support Banner

WLS 8.1: Failed to process webservices DD file.weblogic.webservice.dd.DDProcessingException: Couldn't find required attribute "type" (Doc ID 1221963.1)

Last updated on APRIL 30, 2018

Applies to:

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


On developing a Webservice that is being called from a specific client which excepts faults to be available in WSDL message definition, you will get a 'javax.xml.rpc.soap.SOAPFaultException'. The exception is not by default added in the web-services.xml when package is build using an ant job, from servicegen tool of WebLogic.

If you try to include the fault tag manually as mentioned in "Creating the web-services.xml File Manually" the application fails to get deployed complaining that the specific 'type' is not available.

Error message: Failed to process webservices DD file.weblogic.webservice.dd.DDProcessingException: Could not find required attribute "type" for element <fault> (Line 17, Column 15)
at weblogic.webservice.dd.ParsingHelper.getRequiredAttribute(
 at weblogic.webservice.dd.DDLoader.processFaultElement(
 at weblogic.webservice.dd.DDLoader.processFaultElements(
 at weblogic.webservice.dd.DDLoader.processParamsElement(
 at weblogic.webservice.dd.DDLoader.processOperationElement(
 at weblogic.webservice.dd.DDLoader.processOperationElements(
at weblogic.webservice.dd.DDLoader.processOperationsElement(
at weblogic.webservice.dd.DDLoader.processWebServiceElement(
 at weblogic.webservice.dd.DDLoader.processWebServiceElements(
at weblogic.webservice.dd.DDLoader.processWebServicesElement(
 at weblogic.webservice.dd.DDLoader.load(
 at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebServices(
 at weblogic.servlet.internal.dd.DescriptorLoader.<init>(
at weblogic.servlet.internal.dd.DescriptorLoader.<init>(




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.