|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.model.wsdl.AbstractObjectImpl
com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
com.sun.xml.ws.model.wsdl.WSDLOperationImpl
public final class WSDLOperationImpl
Implementaiton of WSDLOperation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
AbstractExtensibleImpl.UnknownWSDLExtension |
Field Summary | |
---|---|
protected Iterable<WSDLMessageImpl> |
messages
|
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
extensions, notUnderstoodExtensions |
Constructor Summary | |
---|---|
WSDLOperationImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLPortTypeImpl owner,
QName name)
|
Method Summary | |
---|---|
void |
addFault(WSDLFaultImpl fault)
|
void |
freez(WSDLModelImpl root)
|
WSDLFault |
getFault(QName faultDetailName)
Gives WSDLFault for the given soap fault detail value. |
Map<String,String> |
getFaultActionMap()
|
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)
|
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl |
---|
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions |
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl |
---|
getLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible |
---|
addExtension, getExtension, getExtensions, getExtensions |
Field Detail |
---|
protected Iterable<WSDLMessageImpl> messages
Constructor Detail |
---|
public WSDLOperationImpl(javax.xml.stream.XMLStreamReader xsr, WSDLPortTypeImpl owner, QName name)
Method Detail |
---|
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.
public Map<String,String> getFaultActionMap()
WSDLPortType getOwner()
@NotNull public QName getPortTypeName()
WSDLOperation
getPortTypeName
in interface WSDLOperation
public void addFault(WSDLFaultImpl fault)
public void freez(WSDLModelImpl root)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |