com.sun.xml.ws.model.wsdl
Class WSDLFaultImpl
java.lang.Object
com.sun.xml.ws.model.wsdl.AbstractObjectImpl
com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
com.sun.xml.ws.model.wsdl.WSDLFaultImpl
- All Implemented Interfaces:
- WSDLExtensible, WSDLFault, WSDLObject
public final class WSDLFaultImpl
- extends AbstractExtensibleImpl
- implements WSDLFault
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLFaultImpl
public WSDLFaultImpl(javax.xml.stream.XMLStreamReader xsr,
String name,
QName messageName,
WSDLOperationImpl operation)
getName
public String getName()
- Description copied from interface:
WSDLFault
- Gives wsdl:fault@name value
- Specified by:
getName
in interface WSDLFault
getMessage
public WSDLMessageImpl getMessage()
- Description copied from interface:
WSDLFault
- 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.
- Specified by:
getMessage
in interface WSDLFault
- Returns:
- Always returns null when called from inside WSDL extensions.
getOperation
@NotNull
public WSDLOperation getOperation()
- Description copied from interface:
WSDLFault
- Gives the owning
WSDLOperation
- Specified by:
getOperation
in interface WSDLFault
getQName
@NotNull
public QName getQName()
- Description copied from interface:
WSDLFault
- Gives qualified name of the wsdl:fault 'name' attribute value.
The namespace uri is determined from the enclosing wsdl:operation.
- Specified by:
getQName
in interface WSDLFault
getAction
@NotNull
public String getAction()
- Description copied from interface:
WSDLFault
- Gives the Action Message Addressing Property value for
this
message.
this
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.
- Specified by:
getAction
in interface WSDLFault
- Returns:
- Action
setAction
public void setAction(String action)
isDefaultAction
public boolean isDefaultAction()
setDefaultAction
public void setDefaultAction(boolean defaultAction)
freeze
void freeze(WSDLModelImpl root)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.