public final class WSDLOperationImpl extends AbstractExtensibleImpl implements WSDLOperation
WSDLOperation
AbstractExtensibleImpl.UnknownWSDLExtension
Modifier and Type | Field and Description |
---|---|
protected Iterable<WSDLMessageImpl> |
messages |
extensions, notUnderstoodExtensions
Constructor and Description |
---|
WSDLOperationImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLPortTypeImpl owner,
QName name) |
Modifier and Type | Method and Description |
---|---|
void |
addFault(WSDLFaultImpl fault) |
void |
freez(WSDLModelImpl root) |
WSDLFault |
getFault(QName faultDetailName)
Gives
WSDLFault for the given soap fault detail value. |
Iterable<WSDLFaultImpl> |
getFaults()
Gets the
WSDLFault corresponding to wsdl:fault of this operation. |
WSDLInputImpl |
getInput()
Gets the wsdl:input of this operation
|
QName |
getName()
Gets the name of the wsdl:portType/wsdl:operation@name attribute value as local name and wsdl:definitions@targetNamespace
as the namespace uri.
|
WSDLOutputImpl |
getOutput()
Gets the wsdl:output of this operation.
|
(package private) WSDLPortType |
getOwner() |
String |
getParameterOrder() |
QName |
getPortTypeName()
Gives the enclosing wsdl:portType@name attribute value.
|
boolean |
isOneWay()
Returns true if this operation is an one-way operation.
|
void |
setInput(WSDLInputImpl input) |
void |
setOutput(WSDLOutputImpl output) |
void |
setParameterOrder(String parameterOrder) |
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions
getLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExtension, getExtension, getExtensions, getExtensions
getLocation
protected Iterable<WSDLMessageImpl> messages
public WSDLOperationImpl(javax.xml.stream.XMLStreamReader xsr, WSDLPortTypeImpl owner, QName name)
public QName getName()
WSDLOperation
getName
in interface WSDLOperation
public String getParameterOrder()
public void setParameterOrder(String parameterOrder)
public WSDLInputImpl getInput()
WSDLOperation
getInput
in interface WSDLOperation
public void setInput(WSDLInputImpl input)
public WSDLOutputImpl getOutput()
WSDLOperation
getOutput
in interface WSDLOperation
public boolean isOneWay()
WSDLOperation
isOneWay
in interface WSDLOperation
public void setOutput(WSDLOutputImpl output)
public Iterable<WSDLFaultImpl> getFaults()
WSDLOperation
WSDLFault
corresponding to wsdl:fault of this operation.getFaults
in interface WSDLOperation
public WSDLFault getFault(QName faultDetailName)
WSDLOperation
WSDLFault
for the given soap fault detail value.
Given a wsdl fault: <wsdl:message nae="faultMessage"> <wsdl:part name="fault" element="ns:myException/> </wsdl:message> <wsdl:portType> <wsdl:operation ...> <wsdl:fault name="aFault" message="faultMessage"/> </wsdl:operation> <wsdl:portType> For example given a soap 11 soap message: <soapenv:Fault> ... <soapenv:detail> <ns:myException> ... </ns:myException> </soapenv:detail> QName faultQName = new QName(ns, "myException"); WSDLFault wsdlFault = getFault(faultQName); The above call will return a WSDLFault that abstracts wsdl:portType/wsdl:operation/wsdl:fault.
getFault
in interface WSDLOperation
faultDetailName
- tag name of the element inside soaenv:Fault/detail/, must be non-null.WSDLPortType getOwner()
@NotNull public QName getPortTypeName()
WSDLOperation
getPortTypeName
in interface WSDLOperation
public void addFault(WSDLFaultImpl fault)
public void freez(WSDLModelImpl root)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.