Package com.sun.xml.ws.api.model.soap
Class SOAPBinding
- java.lang.Object
-
- com.sun.xml.ws.api.model.soap.SOAPBinding
-
- Direct Known Subclasses:
SOAPBindingImpl
public abstract class SOAPBinding extends Object
Models soap:binding in a WSDL document or aSOAPBinding
annotation. This can be the return ofJavaMethod.getBinding()
.- Author:
- Vivek Pandey
-
-
Field Summary
Fields Modifier and Type Field Description protected String
soapAction
protected SOAPVersion
soapVersion
protected jakarta.jws.soap.SOAPBinding.Style
style
protected jakarta.jws.soap.SOAPBinding.Use
use
-
Constructor Summary
Constructors Constructor Description SOAPBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSOAPAction()
Value ofwsdl:binding/wsdl:operation/soap:operation@soapAction
attribute orWebMethod.action()
annotation.SOAPVersion
getSOAPVersion()
Get theSOAPVersion
jakarta.jws.soap.SOAPBinding.Style
getStyle()
GetSOAPBinding.Style
- such asdocument
orrpc
.jakarta.jws.soap.SOAPBinding.Use
getUse()
GetSOAPBinding.Use
such asliteral
orencoded
.boolean
isDocLit()
Returns true if its document/literalboolean
isRpcLit()
Returns true if this is a rpc/literal binding
-
-
-
Field Detail
-
use
protected jakarta.jws.soap.SOAPBinding.Use use
-
style
protected jakarta.jws.soap.SOAPBinding.Style style
-
soapVersion
protected SOAPVersion soapVersion
-
soapAction
protected String soapAction
-
-
Method Detail
-
getUse
public jakarta.jws.soap.SOAPBinding.Use getUse()
GetSOAPBinding.Use
such asliteral
orencoded
.
-
getStyle
public jakarta.jws.soap.SOAPBinding.Style getStyle()
GetSOAPBinding.Style
- such asdocument
orrpc
.
-
getSOAPVersion
public SOAPVersion getSOAPVersion()
Get theSOAPVersion
-
isDocLit
public boolean isDocLit()
Returns true if its document/literal
-
isRpcLit
public boolean isRpcLit()
Returns true if this is a rpc/literal binding
-
getSOAPAction
public String getSOAPAction()
Value ofwsdl:binding/wsdl:operation/soap:operation@soapAction
attribute orWebMethod.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("").- See Also:
Packet.soapAction
-
-