Interface EditableWSDLOperation
-
- All Superinterfaces:
WSDLExtensible
,WSDLObject
,WSDLOperation
- All Known Implementing Classes:
WSDLOperationImpl
public interface EditableWSDLOperation extends WSDLOperation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFault(EditableWSDLFault fault)
Add faultvoid
freeze(EditableWSDLModel root)
Freezes WSDL model to prevent further modificationEditableWSDLFault
getFault(QName faultDetailName)
GivesWSDLFault
for the given soap fault detail value.Iterable<? extends EditableWSDLFault>
getFaults()
Gets theWSDLFault
corresponding to wsdl:fault of this operation.EditableWSDLInput
getInput()
Gets the wsdl:input of this operationEditableWSDLOutput
getOutput()
Gets the wsdl:output of this operation.void
setInput(EditableWSDLInput input)
Set inputvoid
setOutput(EditableWSDLOutput output)
Set outputvoid
setParameterOrder(String parameterOrder)
Set parameter order-
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
-
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLOperation
getName, getParameterOrder, getPortTypeName, isOneWay
-
-
-
-
Method Detail
-
getInput
@NotNull EditableWSDLInput getInput()
Description copied from interface:WSDLOperation
Gets the wsdl:input of this operation- Specified by:
getInput
in interfaceWSDLOperation
-
setInput
void setInput(EditableWSDLInput input)
Set input- Parameters:
input
- Input
-
getOutput
@Nullable EditableWSDLOutput getOutput()
Description copied from interface:WSDLOperation
Gets the wsdl:output of this operation.- Specified by:
getOutput
in interfaceWSDLOperation
- Returns:
- null if this is an one-way operation.
-
setOutput
void setOutput(EditableWSDLOutput output)
Set output- Parameters:
output
- Output
-
getFaults
Iterable<? extends EditableWSDLFault> getFaults()
Description copied from interface:WSDLOperation
Gets theWSDLFault
corresponding to wsdl:fault of this operation.- Specified by:
getFaults
in interfaceWSDLOperation
-
addFault
void addFault(EditableWSDLFault fault)
Add fault- Parameters:
fault
- Fault
-
getFault
@Nullable EditableWSDLFault getFault(QName faultDetailName)
Description copied from interface:WSDLOperation
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.
- Specified by:
getFault
in interfaceWSDLOperation
- 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.
-
setParameterOrder
void setParameterOrder(String parameterOrder)
Set parameter order- Parameters:
parameterOrder
- Parameter order
-
freeze
void freeze(EditableWSDLModel root)
Freezes WSDL model to prevent further modification- Parameters:
root
- WSDL Model
-
-