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
 String getAction()
          Gives the Action Message Addressing Property value for WSDLFault message.
 WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLModel is built.
 String getName()
          Gives wsdl:fault@name value
 WSDLOperation getOperation()
          Gives the owning WSDLOperation
 QName getQName()
          Gives qualified name of the wsdl:fault 'name' attribute value.
 boolean isDefaultAction()
          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 owning WSDLOperation


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 for WSDLFault message.

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:


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.