Package com.sun.xml.ws.api.model.wsdl
Interface WSDLOperation
-
- All Superinterfaces:
WSDLExtensible
,WSDLObject
- All Known Subinterfaces:
EditableWSDLOperation
- All Known Implementing Classes:
WSDLOperationImpl
public interface WSDLOperation extends WSDLObject, WSDLExtensible
Provides abstraction of wsdl:portType/wsdl:operation.- Author:
- Vivek Pandey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WSDLFault
getFault(QName faultDetailName)
GivesWSDLFault
for the given soap fault detail value.Iterable<? extends WSDLFault>
getFaults()
Gets theWSDLFault
corresponding to wsdl:fault of this operation.WSDLInput
getInput()
Gets the wsdl:input of this operationQName
getName()
Gets the name of the wsdl:portType/wsdl:operation@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri.WSDLOutput
getOutput()
Gets the wsdl:output of this operation.String
getParameterOrder()
Returns parameter orderQName
getPortTypeName()
Gives the enclosing wsdl:portType@name attribute value.boolean
isOneWay()
Returns true if this operation is an one-way operation.-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
-
-
-
-
Method Detail
-
getName
@NotNull 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.
-
getInput
@NotNull WSDLInput getInput()
Gets the wsdl:input of this operation
-
getOutput
@Nullable WSDLOutput getOutput()
Gets the wsdl:output of this operation.- Returns:
- null if this is an one-way operation.
-
isOneWay
boolean isOneWay()
Returns true if this operation is an one-way operation.
-
getFaults
Iterable<? extends WSDLFault> getFaults()
Gets theWSDLFault
corresponding to wsdl:fault of this operation.
-
getFault
@Nullable WSDLFault getFault(QName faultDetailName)
GivesWSDLFault
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.
- Parameters:
faultDetailName
- tag name of the element inside soaenv:Fault/detail/, must be non-null.- Returns:
- returns null if a wsdl fault corresponding to the detail entry name not found.
-
getPortTypeName
@NotNull QName getPortTypeName()
Gives the enclosing wsdl:portType@name attribute value.
-
getParameterOrder
String getParameterOrder()
Returns parameter order- Returns:
- Parameter order
-
-