public abstract class SOAPBinding extends Object
SOAPBinding annotation. This
can be the return of JavaMethod.getBinding().| Modifier and Type | Field and Description |
|---|---|
protected String |
soapAction |
protected SOAPVersion |
soapVersion |
protected SOAPBinding.Style |
style |
protected SOAPBinding.Use |
use |
| Constructor and Description |
|---|
SOAPBinding() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSOAPAction()
Value of
wsdl:binding/wsdl:operation/soap:operation@soapAction attribute or
WebMethod.action() annotation. |
SOAPVersion |
getSOAPVersion()
Get the
SOAPVersion |
SOAPBinding.Style |
getStyle()
|
SOAPBinding.Use |
getUse()
|
boolean |
isDocLit()
Returns true if its document/literal
|
boolean |
isRpcLit()
Returns true if this is a rpc/literal binding
|
protected SOAPBinding.Use use
protected SOAPBinding.Style style
protected SOAPVersion soapVersion
protected String soapAction
public SOAPBinding.Use getUse()
public SOAPBinding.Style getStyle()
public SOAPVersion getSOAPVersion()
SOAPVersionpublic boolean isDocLit()
public boolean isRpcLit()
public String getSOAPAction()
wsdl:binding/wsdl:operation/soap:operation@soapAction attribute or
WebMethod.action() annotation.
For example:
<wsdl:binding name="HelloBinding" type="tns:Hello">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="echoData">
<soap12:operation soapAction=""/>
...
It's always non-null. soap message serializer needs to generated SOAPAction HTTP header with
the return of this method enclosed in quotes("").Packet.soapActionCopyright © 2015 Oracle Corporation. All rights reserved.