Package com.sun.xml.ws.api.model.wsdl
Interface WSDLFault
-
- All Superinterfaces:
WSDLExtensible,WSDLObject
- All Known Subinterfaces:
EditableWSDLFault
- All Known Implementing Classes:
WSDLFaultImpl
public interface WSDLFault extends WSDLObject, WSDLExtensible
Abstracts wsdl:portType/wsdl:operation/wsdl:fault- Author:
- Vivek Pandey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()Gives the Action Message Addressing Property value forWSDLFaultmessage.WSDLMessagegetMessage()Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLModel is built.StringgetName()Gives wsdl:fault@name valueWSDLOperationgetOperation()Gives the owningWSDLOperationQNamegetQName()Gives qualified name of the wsdl:fault 'name' attribute value.booleanisDefaultAction()True if this is the default action-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
-
-
-
-
Method Detail
-
getName
String getName()
Gives wsdl:fault@name value
-
getMessage
WSDLMessage getMessage()
Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLModel is built. Basically after the WSDLModel is built all the references are resolve in a post processing phase. IOW, the WSDL extensions should not call this method.- Returns:
- Always returns null when called from inside WSDL extensions.
-
getOperation
@NotNull WSDLOperation getOperation()
Gives the owningWSDLOperation
-
getQName
@NotNull QName getQName()
Gives qualified name of the wsdl:fault 'name' attribute value.
The namespace uri is determined from the enclosing wsdl:operation.
-
getAction
String getAction()
Gives the Action Message Addressing Property value forWSDLFaultmessage.
This method provides the correct value irrespective of whether the Action is explicitly specified in the WSDL or implicitly derived using the rules defined in WS-Addressing.- Returns:
- Action
-
isDefaultAction
boolean isDefaultAction()
True if this is the default action- Returns:
-
-