| Package | Description | 
|---|---|
| javax.xml.soap | Provides the API for creating and building SOAP messages. | 
| javax.xml.ws.soap | This package defines APIs specific to the SOAP binding. | 
| Modifier and Type | Method and Description | 
|---|---|
| SOAPFault | SOAPBody. addFault()Creates a new  SOAPFaultobject and adds it to
 thisSOAPBodyobject. | 
| SOAPFault | SOAPBody. addFault(Name faultCode,
        String faultString)Creates a new   SOAPFaultobject and adds it to thisSOAPBodyobject. | 
| SOAPFault | SOAPBody. addFault(Name faultCode,
        String faultString,
        Locale locale)Creates a new  SOAPFaultobject and adds it to
 thisSOAPBodyobject. | 
| SOAPFault | SOAPBody. addFault(QName faultCode,
        String faultString)Creates a new  SOAPFaultobject and adds it to thisSOAPBodyobject. | 
| SOAPFault | SOAPBody. addFault(QName faultCode,
        String faultString,
        Locale locale)Creates a new  SOAPFaultobject and adds it to thisSOAPBodyobject. | 
| abstract SOAPFault | SOAPFactory. createFault()Creates a new default  SOAPFaultobject | 
| abstract SOAPFault | SOAPFactory. createFault(String reasonText,
           QName faultCode)Creates a new  SOAPFaultobject initialized with the givenreasonTextandfaultCode | 
| SOAPFault | SOAPBody. getFault()Returns the  SOAPFaultobject in thisSOAPBodyobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| SOAPFault | SOAPFaultException. getFault()Gets the embedded  SOAPFaultinstance. | 
| Constructor and Description | 
|---|
| SOAPFaultException(SOAPFault fault)Constructor for SOAPFaultException | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.