|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.model.soap.SOAPBinding
public abstract class SOAPBinding
Models soap:binding in a WSDL document or a SOAPBinding
annotation. This
can be the return of JavaMethod.getBinding()
.
Field Summary | |
---|---|
protected String |
soapAction
|
protected SOAPVersion |
soapVersion
|
protected javax.jws.soap.SOAPBinding.Style |
style
|
protected javax.jws.soap.SOAPBinding.Use |
use
|
Constructor Summary | |
---|---|
SOAPBinding()
|
Method Summary | |
---|---|
String |
getSOAPAction()
Value of wsdl:binding/wsdl:operation/soap:operation@soapAction attribute or
WebMethod.action() annotation. |
SOAPVersion |
getSOAPVersion()
Get the SOAPVersion |
javax.jws.soap.SOAPBinding.Style |
getStyle()
Get SOAPBinding.Style - such as document or rpc . |
javax.jws.soap.SOAPBinding.Use |
getUse()
Get SOAPBinding.Use such as literal or encoded . |
boolean |
isDocLit()
Returns true if its document/literal |
boolean |
isRpcLit()
Returns true if this is a rpc/literal binding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.jws.soap.SOAPBinding.Use use
protected javax.jws.soap.SOAPBinding.Style style
protected SOAPVersion soapVersion
protected String soapAction
Constructor Detail |
---|
public SOAPBinding()
Method Detail |
---|
public javax.jws.soap.SOAPBinding.Use getUse()
SOAPBinding.Use
such as literal
or encoded
.
public javax.jws.soap.SOAPBinding.Style getStyle()
SOAPBinding.Style
- such as document
or rpc
.
public SOAPVersion getSOAPVersion()
SOAPVersion
public boolean isDocLit()
public boolean isRpcLit()
public String getSOAPAction()
wsdl:binding/wsdl:operation/soap:operation@soapAction
attribute or
WebMethod.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("").
Packet.soapAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |