com.sun.xml.ws.api.model.wsdl.editable
Interface EditableWSDLBoundOperation

All Superinterfaces:
WSDLBoundOperation, WSDLExtensible, WSDLObject
All Known Implementing Classes:
WSDLBoundOperationImpl

public interface EditableWSDLBoundOperation
extends WSDLBoundOperation


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation
WSDLBoundOperation.ANONYMOUS
 
Method Summary
 void addFault(EditableWSDLBoundFault fault)
          Add Fault
 void addPart(EditableWSDLPart part, WebParam.Mode mode)
          Add Part
 void freeze(EditableWSDLModel root)
          Freezes WSDL model to prevent further modification
 EditableWSDLBoundPortType getBoundPortType()
          Gives the owner WSDLBoundPortType
 Iterable<? extends EditableWSDLBoundFault> getFaults()
          Gets all the WSDLFault bound to this operation.
 Map<String,? extends EditableWSDLPart> getInParts()
          Gets all inbound WSDLPart by its name.
 EditableWSDLOperation getOperation()
          Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.
 Map<String,? extends EditableWSDLPart> getOutParts()
          Gets all outbound WSDLPart by its name.
 EditableWSDLPart getPart(String partName, WebParam.Mode mode)
          Gets WSDLPart for the given wsdl:input or wsdl:output part
 void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
          Sets the soapbinding:binding/operation/wsaw:Anonymous.
 void setFaultExplicitBodyParts(boolean b)
          Sets fault explicit body parts
 void setInputExplicitBodyParts(boolean b)
          Sets input explicit body parts
 void setOutputExplicitBodyParts(boolean b)
          Sets output explicit body parts
 void setRequestNamespace(String ns)
          Set request namespace
 void setResponseNamespace(String ns)
          Set response namespace
 void setSoapAction(String soapAction)
          Set SOAP action
 void setStyle(SOAPBinding.Style style)
          Set parameter style
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation
getAnonymous, getFaultBinding, getFaultParts, getInputBinding, getInputParts, getMimeTypeForFaultPart, getMimeTypeForInputPart, getMimeTypeForOutputPart, getName, getOutputBinding, getOutputParts, getRequestNamespace, getRequestPayloadName, getResponseNamespace, getResponsePayloadName, getSOAPAction
 
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

getOperation

@NotNull
EditableWSDLOperation getOperation()
Description copied from interface: WSDLBoundOperation
Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.

Specified by:
getOperation in interface WSDLBoundOperation
Returns:
always same WSDLOperation

getBoundPortType

@NotNull
EditableWSDLBoundPortType getBoundPortType()
Description copied from interface: WSDLBoundOperation
Gives the owner WSDLBoundPortType

Specified by:
getBoundPortType in interface WSDLBoundOperation

getPart

@Nullable
EditableWSDLPart getPart(@NotNull
                                  String partName,
                                  @NotNull
                                  WebParam.Mode mode)
Description copied from interface: WSDLBoundOperation
Gets WSDLPart for the given wsdl:input or wsdl:output part

Specified by:
getPart in interface WSDLBoundOperation
Returns:
null if no part is found

getInParts

@NotNull
Map<String,? extends EditableWSDLPart> getInParts()
Description copied from interface: WSDLBoundOperation
Gets all inbound WSDLPart by its name.

Specified by:
getInParts in interface WSDLBoundOperation

getOutParts

@NotNull
Map<String,? extends EditableWSDLPart> getOutParts()
Description copied from interface: WSDLBoundOperation
Gets all outbound WSDLPart by its name.

Specified by:
getOutParts in interface WSDLBoundOperation

getFaults

@NotNull
Iterable<? extends EditableWSDLBoundFault> getFaults()
Description copied from interface: WSDLBoundOperation
Gets all the WSDLFault bound to this operation.

Specified by:
getFaults in interface WSDLBoundOperation

addPart

void addPart(EditableWSDLPart part,
             WebParam.Mode mode)
Add Part

Parameters:
part - Part
mode - Mode

addFault

void addFault(@NotNull
              EditableWSDLBoundFault fault)
Add Fault

Parameters:
fault - Fault

setAnonymous

void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
Sets the soapbinding:binding/operation/wsaw:Anonymous.

Parameters:
anonymous - Anonymous value of the operation

setInputExplicitBodyParts

void setInputExplicitBodyParts(boolean b)
Sets input explicit body parts

Parameters:
b - True, if input body part is explicit

setOutputExplicitBodyParts

void setOutputExplicitBodyParts(boolean b)
Sets output explicit body parts

Parameters:
b - True, if output body part is explicit

setFaultExplicitBodyParts

void setFaultExplicitBodyParts(boolean b)
Sets fault explicit body parts

Parameters:
b - True, if fault body part is explicit

setRequestNamespace

void setRequestNamespace(String ns)
Set request namespace

Parameters:
ns - Namespace

setResponseNamespace

void setResponseNamespace(String ns)
Set response namespace

Parameters:
ns - Namespace

setSoapAction

void setSoapAction(String soapAction)
Set SOAP action

Parameters:
soapAction - SOAP action

setStyle

void setStyle(SOAPBinding.Style style)
Set parameter style

Parameters:
style - Style

freeze

void freeze(EditableWSDLModel root)
Freezes WSDL model to prevent further modification

Parameters:
root - WSDL Model


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.