|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.client.Options
The proposal related for this is here : http://marc.theaimsgroup.com/?l=axis-dev&m=113320384108037&w=2 Client can fill this options and give to any class extending from MEPClient. All those classes will be getting parameters using this.
| Field Summary | |
static java.lang.String |
COPY_PROPERTIES
|
protected TransportOutDescription |
senderTransport
This is used for sending and receiving messages. |
| Constructor Summary | |
Options()
|
|
| Method Summary | |
java.lang.String |
getAction()
|
EndpointReference |
getFaultTo()
|
EndpointReference |
getFrom()
|
TransportListener |
getListener()
|
TransportInDescription |
getListenerTransport()
|
java.lang.String |
getListenerTransportProtocol()
|
java.lang.String |
getMessageId()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String key)
|
RelatesTo |
getRelatesTo()
|
EndpointReference |
getReplyTo()
|
TransportOutDescription |
getSenderTransport()
|
java.lang.String |
getSenderTrasportProtocol()
|
java.lang.String |
getSoapAction()
|
java.lang.String |
getSoapVersionURI()
|
long |
getTimeOutInMilliSeconds()
Gets the wait time after which a client times out in a blocking scenario. |
EndpointReference |
getTo()
|
boolean |
isExceptionToBeThrownOnSOAPFault()
If there is a SOAP Fault in the body of the incoming SOAP Message, system can be configured to throw an exception with the details extracted from the information from the fault message. |
boolean |
isUseSeparateListener()
|
void |
setAction(java.lang.String action)
|
void |
setExceptionToBeThrownOnSOAPFault(boolean exceptionToBeThrownOnSOAPFault)
If there is a SOAP Fault in the body of the incoming SOAP Message, system can be configured to throw an exception with the details extracted from the information from the fault message. |
void |
setFaultTo(EndpointReference faultTo)
|
void |
setFrom(EndpointReference from)
|
void |
setListener(TransportListener listener)
|
void |
setListenerTransport(TransportInDescription listenerTransport)
|
void |
setListenerTransportProtocol(java.lang.String listenerTransportProtocol)
|
void |
setMessageId(java.lang.String messageId)
|
void |
setProperties(java.util.Map properties)
This will set the properties to the context. |
void |
setProperty(java.lang.String propertyKey,
java.lang.Object property)
Properties you need to pass in to the message context must be set via this. |
void |
setRelatesTo(RelatesTo relatesTo)
|
void |
setReplyTo(EndpointReference replyTo)
|
void |
setSenderTransport(java.lang.String senderTransport,
AxisConfiguration axisConfiguration)
Sets the transport to be used for sending the SOAP Message |
void |
setSenderTransport(TransportOutDescription senderTransport)
|
void |
setSoapAction(java.lang.String soapAction)
|
void |
setSoapVersionURI(java.lang.String soapVersionURI)
|
void |
setTimeOutInMilliSeconds(long timeOutInMilliSeconds)
This is used in blocking scenario. |
void |
setTo(EndpointReference to)
|
void |
setTransportInfo(java.lang.String senderTransport,
java.lang.String listenerTransport,
boolean useSeperateListener)
Deprecated. Use setListenerTransportProtocol(String) and useSeparateListener(boolean) instead. You do not need to setSenderTransportProtocol(String) as sender transport can be inferred from the to EPR. But still you can setSenderTransport(TransportOutDescription). |
void |
setUseSeparateListener(boolean useSeparateListener)
Used to specify whether the two SOAP Messages are be sent over same channel or over separate channels.The value of this variable depends on the transport specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected TransportOutDescription senderTransport
public static final java.lang.String COPY_PROPERTIES
| Constructor Detail |
public Options()
| Method Detail |
public void setProperty(java.lang.String propertyKey,
java.lang.Object property)
propertyKey - property - public java.lang.Object getProperty(java.lang.String key)
key -
public java.util.Map getProperties()
public void setProperties(java.util.Map properties)
properties - public java.lang.String getSoapVersionURI()
public void setSoapVersionURI(java.lang.String soapVersionURI)
public java.lang.String getSoapAction()
public void setSoapAction(java.lang.String soapAction)
public boolean isExceptionToBeThrownOnSOAPFault()
public void setExceptionToBeThrownOnSOAPFault(boolean exceptionToBeThrownOnSOAPFault)
exceptionToBeThrownOnSOAPFault - public long getTimeOutInMilliSeconds()
public void setTimeOutInMilliSeconds(long timeOutInMilliSeconds)
timeOutInMilliSeconds - public TransportListener getListener()
public void setListener(TransportListener listener)
public TransportOutDescription getSenderTransport()
public void setSenderTransport(TransportOutDescription senderTransport)
public void setSenderTransport(java.lang.String senderTransport,
AxisConfiguration axisConfiguration)
throws AxisFault
senderTransport -
AxisFault - if the transport is not foundpublic TransportInDescription getListenerTransport()
public void setListenerTransport(TransportInDescription listenerTransport)
public boolean isUseSeparateListener()
public void setUseSeparateListener(boolean useSeparateListener)
useSeparateListener - public java.lang.String getAction()
public void setAction(java.lang.String action)
public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
public EndpointReference getTo()
public void setTo(EndpointReference to)
public EndpointReference getFrom()
public void setFrom(EndpointReference from)
public EndpointReference getReplyTo()
public void setReplyTo(EndpointReference replyTo)
public EndpointReference getFaultTo()
public void setFaultTo(EndpointReference faultTo)
public RelatesTo getRelatesTo()
public void setRelatesTo(RelatesTo relatesTo)
public java.lang.String getListenerTransportProtocol()
public void setListenerTransportProtocol(java.lang.String listenerTransportProtocol)
public java.lang.String getSenderTrasportProtocol()
public void setTransportInfo(java.lang.String senderTransport,
java.lang.String listenerTransport,
boolean useSeperateListener)
throws AxisFault
[senderTransport, listenerTransport, useSeparateListener] http, http, true http, http, false http,smtp,true smtp,http,true smtp,smtp,true
senderTransport - listenerTransport - useSeperateListener -
AxisFault
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||