|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.wom.api.WSDLEntity
org.jvnet.wom.api.WSDLOperation
public abstract class WSDLOperation
Provides abstraction of wsdl:portType/wsdl:operation.
| Constructor Summary | |
|---|---|
protected |
WSDLOperation(org.xml.sax.Locator locator,
javax.xml.namespace.QName name)
|
| Method Summary | |
|---|---|
abstract WSDLFault |
getFault(javax.xml.namespace.QName faultDetailName)
Gives WSDLFault for the given soap fault detail value. |
abstract java.lang.Iterable<? extends WSDLFault> |
getFaults()
Gets the WSDLFault corresponding to wsdl:fault of this operation. |
abstract WSDLInput |
getInput()
Gets the wsdl:input of this operation |
abstract WSDLOutput |
getOutput()
Gets the wsdl:output of this operation. |
abstract java.util.List<java.lang.String> |
getParameterOrder()
Gives parameterOrder attribute defined on wsdl:operation. |
abstract WSDLPortType |
getPortType()
Gives enclosing wsdl:portType |
abstract boolean |
isOneWay()
Returns true if this operation is an one-way operation. |
| Methods inherited from class org.jvnet.wom.api.WSDLEntity |
|---|
addExtension, getDocumentation, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WSDLOperation(org.xml.sax.Locator locator,
javax.xml.namespace.QName name)
| Method Detail |
|---|
public abstract WSDLInput getInput()
WSDLInputpublic abstract WSDLOutput getOutput()
public abstract boolean isOneWay()
public abstract java.lang.Iterable<? extends WSDLFault> getFaults()
WSDLFault corresponding to wsdl:fault of this operation.
public abstract WSDLFault getFault(javax.xml.namespace.QName faultDetailName)
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.
faultDetailName - tag name of the element inside soaenv:Fault/detail/, must be non-null.
public abstract WSDLPortType getPortType()
public abstract java.util.List<java.lang.String> getParameterOrder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||