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 String
protected SOAPVersion
protected SOAPBinding.Style
protected SOAPBinding.Use
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValue ofwsdl:binding/wsdl:operation/soap:operation@soapAction
attribute orWebMethod.action()
annotation.Get theSOAPVersion
getStyle()
getUse()
boolean
isDocLit()
Returns true if its document/literalboolean
isRpcLit()
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@soapAction
attribute 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:
-