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


Method Summary
 java.lang.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.
 java.lang.String getName()
          Gives wsdl:fault@name value
 WSDLOperation getOperation()
          Gives the owning WSDLOperation
 javax.xml.namespace.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

java.lang.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
javax.xml.namespace.QName getQName()
Gives qualified name of the wsdl:fault 'name' attribute value.

The namespace uri is determined from the enclosing wsdl:operation.


getAction

java.lang.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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.