public final class WSDLBoundOperationImpl extends AbstractExtensibleImpl implements WSDLBoundOperation
WSDLBoundOperation
AbstractExtensibleImpl.UnknownWSDLExtension
WSDLBoundOperation.ANONYMOUS
extensions, notUnderstoodExtensions
Constructor and Description |
---|
WSDLBoundOperationImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLBoundPortTypeImpl owner,
QName name) |
Modifier and Type | Method and Description |
---|---|
void |
addFault(WSDLBoundFaultImpl fault) |
void |
addPart(WSDLPartImpl part,
javax.jws.WebParam.Mode mode) |
(package private) void |
freeze(WSDLModelImpl parent) |
WSDLBoundOperation.ANONYMOUS |
getAnonymous()
Gets the soapbinding:binding/operation/wsaw:Anonymous.
|
WSDLBoundPortType |
getBoundPortType()
Gives the owner
WSDLBoundPortType |
ParameterBinding |
getFaultBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:fault |
Map<String,String> |
getFaultMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:fault
|
Map<String,ParameterBinding> |
getFaultParts()
Map of wsdl:fault part name and the binding as
ParameterBinding |
List<WSDLBoundFaultImpl> |
getFaults()
Gets all the
WSDLFault bound to this operation. |
Map<String,WSDLPart> |
getInParts()
|
ParameterBinding |
getInputBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:input |
Map<String,String> |
getInputMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:output
|
Map<String,ParameterBinding> |
getInputParts()
Map of wsdl:input part name and the binding as
ParameterBinding |
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() |
WSDLOperationImpl |
getOperation()
Gets the wsdl:portType/wsdl:operation model -
WSDLOperation ,
associated with this binding operation. |
Map<String,WSDLPart> |
getOutParts()
|
ParameterBinding |
getOutputBinding(String part)
Gets
ParameterBinding for a given wsdl part in wsdl:output |
Map<String,String> |
getOutputMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:output
|
Map<String,ParameterBinding> |
getOutputParts()
Map of wsdl:output part name and the binding as
ParameterBinding |
(package private) WSDLBoundPortTypeImpl |
getOwner() |
WSDLPartImpl |
getPart(String partName,
javax.jws.WebParam.Mode mode)
Gets
WSDLPart for the given wsdl:input or wsdl:output part |
QName |
getReqPayloadName()
Gets the payload QName of the request message.
|
String |
getRequestNamespace()
For rpclit gives namespace value on soapbinding:body@namespace
|
QName |
getResPayloadName()
Gets the payload QName of the response message.
|
String |
getResponseNamespace()
For rpclit gives namespace value on soapbinding:body@namespace
|
String |
getSOAPAction()
Gives soapbinding:operation@soapAction value.
|
void |
setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous) |
void |
setFaultExplicitBodyParts(boolean b) |
void |
setInputExplicitBodyParts(boolean b) |
void |
setOutputExplicitBodyParts(boolean b) |
void |
setRequestNamespace(String ns) |
void |
setResponseNamespace(String ns) |
void |
setSoapAction(String soapAction) |
void |
setStyle(javax.jws.soap.SOAPBinding.Style style) |
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions
getLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExtension, getExtension, getExtensions, getExtensions
getLocation
public WSDLBoundOperationImpl(javax.xml.stream.XMLStreamReader xsr, WSDLBoundPortTypeImpl owner, QName name)
name
- wsdl:operation name qualified valuepublic QName getName()
WSDLBoundOperation
getOperation().getName()
getName
in interface WSDLBoundOperation
public String getSOAPAction()
WSDLBoundOperation
getSOAPAction
in interface WSDLBoundOperation
public void setSoapAction(String soapAction)
public WSDLPartImpl getPart(String partName, javax.jws.WebParam.Mode mode)
WSDLBoundOperation
WSDLPart
for the given wsdl:input or wsdl:output partgetPart
in interface WSDLBoundOperation
public void addPart(WSDLPartImpl part, javax.jws.WebParam.Mode mode)
public Map<String,ParameterBinding> getInputParts()
ParameterBinding
public Map<String,ParameterBinding> getOutputParts()
ParameterBinding
public Map<String,ParameterBinding> getFaultParts()
ParameterBinding
public Map<String,WSDLPart> getInParts()
WSDLBoundOperation
getInParts
in interface WSDLBoundOperation
public Map<String,WSDLPart> getOutParts()
WSDLBoundOperation
getOutParts
in interface WSDLBoundOperation
@NotNull public List<WSDLBoundFaultImpl> getFaults()
WSDLBoundOperation
WSDLFault
bound to this operation.getFaults
in interface WSDLBoundOperation
public void addFault(@NotNull WSDLBoundFaultImpl fault)
public Map<String,String> getInputMimeTypes()
public Map<String,String> getOutputMimeTypes()
public Map<String,String> getFaultMimeTypes()
public ParameterBinding getInputBinding(String part)
ParameterBinding
for a given wsdl part in wsdl:inputpart
- Name of wsdl:part, must be non-nullpublic ParameterBinding getOutputBinding(String part)
ParameterBinding
for a given wsdl part in wsdl:outputpart
- Name of wsdl:part, must be non-nullpublic ParameterBinding getFaultBinding(String part)
ParameterBinding
for a given wsdl part in wsdl:faultpart
- Name of wsdl:part, must be non-nullpublic String getMimeTypeForInputPart(String part)
part
- Name of wsdl:part, must be non-nullpublic String getMimeTypeForOutputPart(String part)
part
- Name of wsdl:part, must be non-nullpublic String getMimeTypeForFaultPart(String part)
part
- Name of wsdl:part, must be non-nullpublic WSDLOperationImpl getOperation()
WSDLBoundOperation
WSDLOperation
,
associated with this binding operation.getOperation
in interface WSDLBoundOperation
WSDLOperation
public WSDLBoundPortType getBoundPortType()
WSDLBoundOperation
WSDLBoundPortType
getBoundPortType
in interface WSDLBoundOperation
public void setInputExplicitBodyParts(boolean b)
public void setOutputExplicitBodyParts(boolean b)
public void setFaultExplicitBodyParts(boolean b)
public void setStyle(javax.jws.soap.SOAPBinding.Style style)
@Nullable public QName getReqPayloadName()
WSDLBoundOperation
It's possible for an operation to define no body part, in which case this method returns null.
getReqPayloadName
in interface WSDLBoundOperation
@Nullable public QName getResPayloadName()
WSDLBoundOperation
It's possible for an operation to define no body part, in which case this method returns null.
getResPayloadName
in interface WSDLBoundOperation
public String getRequestNamespace()
getRequestNamespace
in interface WSDLBoundOperation
com.sun.xml.ws.model.RuntimeModeler#processRpcMethod(com.sun.xml.ws.model.JavaMethodImpl, String, javax.jws.WebMethod, String, java.lang.reflect.Method, javax.jws.WebService)
public void setRequestNamespace(String ns)
public String getResponseNamespace()
getResponseNamespace
in interface WSDLBoundOperation
public void setResponseNamespace(String ns)
WSDLBoundPortTypeImpl getOwner()
void freeze(WSDLModelImpl parent)
public void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
public WSDLBoundOperation.ANONYMOUS getAnonymous()
WSDLBoundOperation
getAnonymous
in interface WSDLBoundOperation
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.