Interface EditableWSDLOperation

All Superinterfaces:
WSDLExtensible, WSDLObject, WSDLOperation
All Known Implementing Classes:
WSDLOperationImpl

public interface EditableWSDLOperation extends WSDLOperation
  • Method Details

    • getInput

      @NotNull EditableWSDLInput getInput()
      Description copied from interface: WSDLOperation
      Gets the wsdl:input of this operation
      Specified by:
      getInput in interface WSDLOperation
    • 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 interface WSDLOperation
      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 the WSDLFault corresponding to wsdl:fault of this operation.
      Specified by:
      getFaults in interface WSDLOperation
    • addFault

      void addFault(EditableWSDLFault fault)
      Add fault
      Parameters:
      fault - Fault
    • getFault

      @Nullable EditableWSDLFault getFault(QName faultDetailName)
      Description copied from interface: WSDLOperation
      Gives WSDLFault 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 interface WSDLOperation
      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