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 javax.jws.soap.SOAPBinding.Styleprotected javax.jws.soap.SOAPBinding.Use -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValue ofwsdl:binding/wsdl:operation/soap:operation@soapActionattribute orWebMethod.action()annotation.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 Details
-
use
protected javax.jws.soap.SOAPBinding.Use use -
style
protected javax.jws.soap.SOAPBinding.Style style -
soapVersion
-
soapAction
-
-
Constructor Details
-
SOAPBinding
public SOAPBinding()
-
-
Method Details
-
getUse
public javax.jws.soap.SOAPBinding.Use getUse()GetSOAPBinding.Usesuch asliteralorencoded. -
getStyle
public javax.jws.soap.SOAPBinding.Style getStyle()GetSOAPBinding.Style- such asdocumentorrpc. -
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: <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:
-