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 voidaddFault(EditableWSDLFault fault)Add faultvoidfreeze(EditableWSDLModel root)Freezes WSDL model to prevent further modificationEditableWSDLFaultgetFault(QName faultDetailName)GivesWSDLFaultfor the given soap fault detail value.Iterable<? extends EditableWSDLFault>getFaults()Gets theWSDLFaultcorresponding to wsdl:fault of this operation.EditableWSDLInputgetInput()Gets the wsdl:input of this operationEditableWSDLOutputgetOutput()Gets the wsdl:output of this operation.voidsetInput(EditableWSDLInput input)Set inputvoidsetOutput(EditableWSDLOutput output)Set outputvoidsetParameterOrder(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:WSDLOperationGets the wsdl:input of this operation- Specified by:
getInputin interfaceWSDLOperation
-
setInput
void setInput(EditableWSDLInput input)
Set input- Parameters:
input- Input
-
getOutput
@Nullable EditableWSDLOutput getOutput()
Description copied from interface:WSDLOperationGets the wsdl:output of this operation.- Specified by:
getOutputin 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:WSDLOperationGets theWSDLFaultcorresponding to wsdl:fault of this operation.- Specified by:
getFaultsin interfaceWSDLOperation
-
addFault
void addFault(EditableWSDLFault fault)
Add fault- Parameters:
fault- Fault
-
getFault
@Nullable EditableWSDLFault getFault(QName faultDetailName)
Description copied from interface:WSDLOperationGivesWSDLFaultfor 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:
getFaultin 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
-
-