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 aSOAPBindingannotation. This can be the return ofJavaMethod.getBinding().- Author:
- Vivek Pandey
-
-
Field Summary
Fields Modifier and Type Field Description protected StringsoapActionprotected SOAPVersionsoapVersionprotected javax.jws.soap.SOAPBinding.Stylestyleprotected javax.jws.soap.SOAPBinding.Useuse
-
Constructor Summary
Constructors Constructor Description SOAPBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSOAPAction()Value ofwsdl:binding/wsdl:operation/soap:operation@soapActionattribute orWebMethod.action()annotation.SOAPVersiongetSOAPVersion()Get theSOAPVersionjavax.jws.soap.SOAPBinding.StylegetStyle()GetSOAPBinding.Style- such asdocumentorrpc.javax.jws.soap.SOAPBinding.UsegetUse()GetSOAPBinding.Usesuch asliteralorencoded.booleanisDocLit()Returns true if its document/literalbooleanisRpcLit()Returns true if this is a rpc/literal binding
-
-
-
Field Detail
-
use
protected javax.jws.soap.SOAPBinding.Use use
-
style
protected javax.jws.soap.SOAPBinding.Style style
-
soapVersion
protected SOAPVersion soapVersion
-
soapAction
protected String soapAction
-
-
Method Detail
-
getUse
public javax.jws.soap.SOAPBinding.Use getUse()
GetSOAPBinding.Usesuch asliteralorencoded.
-
getStyle
public javax.jws.soap.SOAPBinding.Style getStyle()
GetSOAPBinding.Style- such asdocumentorrpc.
-
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@soapActionattribute 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
-
-