Module com.sun.xml.ws.rt
Interface EditableWSDLOperation
- All Superinterfaces:
WSDLExtensible,WSDLObject,WSDLOperation
- All Known Implementing Classes:
WSDLOperationImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFault(EditableWSDLFault fault) Add faultvoidfreeze(EditableWSDLModel root) Freezes WSDL model to prevent further modificationGivesWSDLFaultfor the given soap fault detail value.Iterable<? extends EditableWSDLFault>Gets theWSDLFaultcorresponding to wsdl:fault of this operation.getInput()Gets the wsdl:input of this operationGets the wsdl:output of this operation.voidsetInput(EditableWSDLInput input) Set inputvoidsetOutput(EditableWSDLOutput output) Set outputvoidsetParameterOrder(String parameterOrder) Set parameter orderMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensionsMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocationMethods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLOperation
getName, getParameterOrder, getPortTypeName, isOneWay
-
Method Details
-
getInput
Description copied from interface:WSDLOperationGets the wsdl:input of this operation- Specified by:
getInputin interfaceWSDLOperation
-
setInput
Set input- Parameters:
input- Input
-
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
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
Add fault- Parameters:
fault- Fault
-
getFault
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
Set parameter order- Parameters:
parameterOrder- Parameter order
-
freeze
Freezes WSDL model to prevent further modification- Parameters:
root- WSDL Model
-