public final class WSDLBoundOperationImpl extends Object implements EditableWSDLBoundOperation
WSDLBoundOperation| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractExtensibleImpl.UnknownWSDLExtension |
WSDLBoundOperation.ANONYMOUS| Modifier and Type | Field and Description |
|---|---|
protected Set<WSDLExtension> |
extensions |
protected List<AbstractExtensibleImpl.UnknownWSDLExtension> |
notUnderstoodExtensions |
| Constructor and Description |
|---|
WSDLBoundOperationImpl(XMLStreamReader xsr,
EditableWSDLBoundPortType owner,
QName name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(WSDLExtension ex)
Adds a new
WSDLExtension
to this object. |
void |
addFault(EditableWSDLBoundFault fault)
Add Fault
|
void |
addNotUnderstoodExtension(QName extnEl,
Locator locator)
This can be used if a WSDL extension element that has wsdl:required=true
is not understood
|
void |
addPart(EditableWSDLPart part,
WebParam.Mode mode)
Add Part
|
boolean |
areRequiredExtensionsUnderstood()
This method should be called after freezing the WSDLModel
|
void |
freeze(EditableWSDLModel parent)
Freezes WSDL model to prevent further modification
|
WSDLBoundOperation.ANONYMOUS |
getAnonymous()
Gets the soapbinding:binding/operation/wsaw:Anonymous.
|
EditableWSDLBoundPortType |
getBoundPortType()
Gives the owner
WSDLBoundPortType |
<T extends WSDLExtension> |
getExtension(Class<T> type)
Gets the extension that is assignable to the given type.
|
Iterable<WSDLExtension> |
getExtensions()
Gets all the
WSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension). |
<T extends WSDLExtension> |
getExtensions(Class<T> type)
Gets all the extensions that is assignable to the given type.
|
ParameterBinding |
getFaultBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:fault |
Map<String,ParameterBinding> |
getFaultParts()
Map of wsdl:fault part name and the binding as
ParameterBinding |
List<? extends EditableWSDLBoundFault> |
getFaults()
Gets all the
WSDLFault bound to this operation. |
Map<String,? extends EditableWSDLPart> |
getInParts()
|
ParameterBinding |
getInputBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:input |
Map<String,ParameterBinding> |
getInputParts()
Map of wsdl:input part name and the binding as
ParameterBinding |
Locator |
getLocation()
Gets the source location information in the parsed WSDL.
|
String |
getMimeTypeForFaultPart(String part)
Gets the MIME type for a given wsdl part in wsdl:fault
|
String |
getMimeTypeForInputPart(String part)
Gets the MIME type for a given wsdl part in wsdl:input
|
String |
getMimeTypeForOutputPart(String part)
Gets the MIME type for a given wsdl part in wsdl:output
|
QName |
getName()
Short-cut for
getOperation().getName() |
List<? extends AbstractExtensibleImpl.UnknownWSDLExtension> |
getNotUnderstoodExtensions()
Lists extensions marked as not understood
|
EditableWSDLOperation |
getOperation()
Gets the wsdl:portType/wsdl:operation model -
WSDLOperation,
associated with this binding operation. |
Map<String,? extends EditableWSDLPart> |
getOutParts()
|
ParameterBinding |
getOutputBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:output |
Map<String,ParameterBinding> |
getOutputParts()
Map of wsdl:output part name and the binding as
ParameterBinding |
EditableWSDLPart |
getPart(String partName,
WebParam.Mode mode)
Gets
WSDLPart for the given wsdl:input or wsdl:output part |
String |
getRequestNamespace()
For rpclit gives namespace value on soapbinding:body@namespace
|
QName |
getRequestPayloadName()
Gets the payload QName of the request message.
|
String |
getResponseNamespace()
For rpclit gives namespace value on soapbinding:body@namespace
|
QName |
getResponsePayloadName()
Gets the payload QName of the response message.
|
String |
getSOAPAction()
Gives soapbinding:operation@soapAction value.
|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensionsgetLocationprotected final Set<WSDLExtension> extensions
protected List<AbstractExtensibleImpl.UnknownWSDLExtension> notUnderstoodExtensions
public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name)
name - wsdl:operation name qualified valuepublic QName getName()
WSDLBoundOperationgetOperation().getName()getName in interface WSDLBoundOperationpublic String getSOAPAction()
WSDLBoundOperationgetSOAPAction in interface WSDLBoundOperationpublic void setSoapAction(String soapAction)
EditableWSDLBoundOperationsetSoapAction in interface EditableWSDLBoundOperationsoapAction - SOAP actionpublic EditableWSDLPart getPart(String partName, WebParam.Mode mode)
WSDLBoundOperationWSDLPart for the given wsdl:input or wsdl:output partgetPart in interface EditableWSDLBoundOperationgetPart in interface WSDLBoundOperationpublic void addPart(EditableWSDLPart part, WebParam.Mode mode)
EditableWSDLBoundOperationaddPart in interface EditableWSDLBoundOperationpart - Partmode - Modepublic Map<String,ParameterBinding> getInputParts()
ParameterBindinggetInputParts in interface WSDLBoundOperationpublic Map<String,ParameterBinding> getOutputParts()
ParameterBindinggetOutputParts in interface WSDLBoundOperationpublic Map<String,ParameterBinding> getFaultParts()
ParameterBindinggetFaultParts in interface WSDLBoundOperationpublic Map<String,? extends EditableWSDLPart> getInParts()
WSDLBoundOperationgetInParts in interface EditableWSDLBoundOperationgetInParts in interface WSDLBoundOperationpublic Map<String,? extends EditableWSDLPart> getOutParts()
WSDLBoundOperationgetOutParts in interface EditableWSDLBoundOperationgetOutParts in interface WSDLBoundOperation@NotNull public List<? extends EditableWSDLBoundFault> getFaults()
WSDLBoundOperationWSDLFault bound to this operation.getFaults in interface EditableWSDLBoundOperationgetFaults in interface WSDLBoundOperationpublic void addFault(@NotNull
EditableWSDLBoundFault fault)
EditableWSDLBoundOperationaddFault in interface EditableWSDLBoundOperationfault - Faultpublic ParameterBinding getInputBinding(String part)
ParameterBinding for a given wsdl part in wsdl:inputgetInputBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic ParameterBinding getOutputBinding(String part)
ParameterBinding for a given wsdl part in wsdl:outputgetOutputBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic ParameterBinding getFaultBinding(String part)
ParameterBinding for a given wsdl part in wsdl:faultgetFaultBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic String getMimeTypeForInputPart(String part)
getMimeTypeForInputPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic String getMimeTypeForOutputPart(String part)
getMimeTypeForOutputPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic String getMimeTypeForFaultPart(String part)
getMimeTypeForFaultPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-nullpublic EditableWSDLOperation getOperation()
WSDLBoundOperationWSDLOperation,
associated with this binding operation.getOperation in interface EditableWSDLBoundOperationgetOperation in interface WSDLBoundOperationWSDLOperationpublic EditableWSDLBoundPortType getBoundPortType()
WSDLBoundOperationWSDLBoundPortTypegetBoundPortType in interface EditableWSDLBoundOperationgetBoundPortType in interface WSDLBoundOperationpublic void setInputExplicitBodyParts(boolean b)
EditableWSDLBoundOperationsetInputExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if input body part is explicitpublic void setOutputExplicitBodyParts(boolean b)
EditableWSDLBoundOperationsetOutputExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if output body part is explicitpublic void setFaultExplicitBodyParts(boolean b)
EditableWSDLBoundOperationsetFaultExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if fault body part is explicitpublic void setStyle(SOAPBinding.Style style)
EditableWSDLBoundOperationsetStyle in interface EditableWSDLBoundOperationstyle - Style@Nullable public QName getRequestPayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getRequestPayloadName in interface WSDLBoundOperation@Nullable public QName getResponsePayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getResponsePayloadName in interface WSDLBoundOperationpublic String getRequestNamespace()
getRequestNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setRequestNamespace(String ns)
EditableWSDLBoundOperationsetRequestNamespace in interface EditableWSDLBoundOperationns - Namespacepublic String getResponseNamespace()
getResponseNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setResponseNamespace(String ns)
EditableWSDLBoundOperationsetResponseNamespace in interface EditableWSDLBoundOperationns - Namespacepublic void freeze(EditableWSDLModel parent)
EditableWSDLBoundOperationfreeze in interface EditableWSDLBoundOperationparent - WSDL Modelpublic void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
EditableWSDLBoundOperationsetAnonymous in interface EditableWSDLBoundOperationanonymous - Anonymous value of the operationpublic WSDLBoundOperation.ANONYMOUS getAnonymous()
WSDLBoundOperationgetAnonymous in interface WSDLBoundOperationpublic final Iterable<WSDLExtension> getExtensions()
WSDLExtensibleWSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension).getExtensions in interface WSDLExtensiblepublic final <T extends WSDLExtension> Iterable<T> getExtensions(Class<T> type)
WSDLExtensibleThis allows clients to find specific extensions in a type-safe and convenient way.
getExtensions in interface WSDLExtensibletype - The type of the extension to obtain. Must not be null.public <T extends WSDLExtension> T getExtension(Class<T> type)
WSDLExtensibleThis is just a convenient version that does
Iterator itr = getExtensions(type); if(itr.hasNext()) return itr.next(); else return null;
getExtension in interface WSDLExtensiblepublic void addExtension(WSDLExtension ex)
WSDLExtensibleWSDLExtension
to this object.addExtension in interface WSDLExtensibleex - must not be null.public List<? extends AbstractExtensibleImpl.UnknownWSDLExtension> getNotUnderstoodExtensions()
WSDLExtensiblegetNotUnderstoodExtensions in interface WSDLExtensiblepublic void addNotUnderstoodExtension(QName extnEl, Locator locator)
addNotUnderstoodExtension in interface WSDLExtensibleextnEl - locator - public boolean areRequiredExtensionsUnderstood()
areRequiredExtensionsUnderstood in interface WSDLExtensible@NotNull public final Locator getLocation()
WSDLObjectgetLocation in interface WSDLObjectCopyright © 2015 Oracle Corporation. All rights reserved.