|
||||||||||
| 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
org.jvnet.wom.impl.WSDLOperationImpl
public class WSDLOperationImpl
| Constructor Summary | |
|---|---|
WSDLOperationImpl(org.xml.sax.Locator locator,
javax.xml.namespace.QName name,
WSDLDocumentImpl document)
|
|
| Method Summary | ||
|---|---|---|
void |
addFault(WSDLFaultImpl fault)
|
|
java.lang.String |
getDocumentation()
Gives the Comment on a WSDL component. |
|
WSDLFault |
getFault(javax.xml.namespace.QName faultDetailName)
Gives WSDLFault for the given soap fault detail value. |
|
java.lang.Iterable<WSDLFaultImpl> |
getFaults()
Gets the WSDLFault corresponding to wsdl:fault of this operation. |
|
WSDLInput |
getInput()
Gets the wsdl:input of this operation |
|
WSDLOutput |
getOutput()
Gets the wsdl:output of this operation. |
|
java.util.List<java.lang.String> |
getParameterOrder()
Gives parameterOrder attribute defined on wsdl:operation. |
|
WSDLPortType |
getPortType()
Gives enclosing wsdl:portType |
|
boolean |
isOneWay()
Returns true if this operation is an one-way operation. |
|
void |
setDocumentation(java.lang.String doc)
|
|
void |
setInput(WSDLInputImpl input)
|
|
void |
setOutput(WSDLOutputImpl output)
|
|
void |
setParameterOrder(java.lang.String[] paramOrder)
|
|
void |
setParent(WSDLPortType parent)
|
|
|
visit(WSDLVisitor<V,P> visitor,
P param)
WSDL visitor |
|
| Methods inherited from class org.jvnet.wom.api.WSDLEntity |
|---|
addExtension, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDLOperationImpl(org.xml.sax.Locator locator,
javax.xml.namespace.QName name,
WSDLDocumentImpl document)
| Method Detail |
|---|
public WSDLInput getInput()
WSDLOperation
getInput in class WSDLOperationWSDLInputpublic WSDLOutput getOutput()
WSDLOperation
getOutput in class WSDLOperationpublic boolean isOneWay()
WSDLOperation
isOneWay in class WSDLOperationpublic final java.lang.Iterable<WSDLFaultImpl> getFaults()
WSDLOperationWSDLFault corresponding to wsdl:fault of this operation.
getFaults in class WSDLOperationpublic WSDLFault getFault(javax.xml.namespace.QName faultDetailName)
WSDLOperationWSDLFault 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 class WSDLOperationfaultDetailName - tag name of the element inside soaenv:Fault/detail/, must be non-null.
public void addFault(WSDLFaultImpl fault)
public WSDLPortType getPortType()
WSDLOperation
getPortType in class WSDLOperationpublic java.util.List<java.lang.String> getParameterOrder()
WSDLOperation
getParameterOrder in class WSDLOperationpublic void setParameterOrder(java.lang.String[] paramOrder)
public void setInput(WSDLInputImpl input)
public void setOutput(WSDLOutputImpl output)
public void setParent(WSDLPortType parent)
public void setDocumentation(java.lang.String doc)
public java.lang.String getDocumentation()
WSDLEntity
getDocumentation in class WSDLEntity
public <V,P> V visit(WSDLVisitor<V,P> visitor,
P param)
WSDLEntity
visit in class WSDLEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||