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
Models soap:binding in a WSDL document or a
SOAPBinding annotation. This
can be the return of JavaMethod.getBinding().- Author:
- Vivek Pandey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected SOAPVersionprotected SOAPBinding.Styleprotected SOAPBinding.Use -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValue ofwsdl:binding/wsdl:operation/soap:operation@soapActionattribute orWebMethod.action()annotation.Get theSOAPVersiongetStyle()getUse()booleanisDocLit()Returns true if its document/literalbooleanisRpcLit()Returns true if this is a rpc/literal binding
-
Field Details
-
use
-
style
-
soapVersion
-
soapAction
-
-
Constructor Details
-
SOAPBinding
protected SOAPBinding()Default construtor.
-
-
Method Details
-
getUse
-
getStyle
-
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
Value ofwsdl:binding/wsdl:operation/soap:operation@soapActionattribute orWebMethod.action()annotation. For example:
It's always non-null. soap message serializer needs to generated SOAPAction HTTP header with the return of this method enclosed in quotes("").<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=""/> ...- See Also:
-