|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.clientapi.MEPClient
This is the Super Class for all the MEPClients, All the MEPClient will extend this.
Field Summary | |
protected boolean |
doREST
|
protected boolean |
doRestThroughPOST
|
protected boolean |
isExceptionToBeThrownOnSOAPFault
|
protected java.lang.String |
mep
|
protected ServiceContext |
serviceContext
|
protected java.lang.String |
soapAction
|
protected java.lang.String |
soapVersionURI
|
protected java.lang.String |
wsaAction
|
Constructor Summary | |
MEPClient(ServiceContext service,
java.lang.String mep)
|
Method Summary | |
SOAPEnvelope |
createDefaultSOAPEnvelope()
create write SOAPEvelope(in terms of version) based on the values set. |
void |
engageModule(javax.xml.namespace.QName name)
Engage a given Module to the current invocation. |
java.lang.String |
getSoapAction()
|
TransportOutDescription |
inferTransport(EndpointReference epr)
try to infer the transport looking at the URL, the URL can be http:// tcp:// mail:// local://. |
protected void |
prepareInvocation(OperationDescription axisop,
MessageContext msgCtx)
prepare the message context for invocation, here the properties kept in the MEPClient copied to the MessageContext |
protected MessageContext |
prepareTheSOAPEnvelope(OMElement toSend)
This class prepare the SOAP Envelope using the payload |
void |
setDoREST(boolean b)
|
void |
setExceptionToBeThrownOnSOAPFault(boolean exceptionToBeThrownOnSOAPFault)
|
void |
setRestThroughPOST(boolean b)
|
void |
setSoapAction(java.lang.String string)
|
void |
setSoapVersionURI(java.lang.String string)
|
void |
setWsaAction(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ServiceContext serviceContext
protected final java.lang.String mep
protected java.lang.String soapVersionURI
protected java.lang.String soapAction
protected boolean doREST
protected boolean doRestThroughPOST
protected java.lang.String wsaAction
protected boolean isExceptionToBeThrownOnSOAPFault
Constructor Detail |
public MEPClient(ServiceContext service, java.lang.String mep)
Method Detail |
public void setRestThroughPOST(boolean b)
public void setDoREST(boolean b)
public java.lang.String getSoapAction()
protected void prepareInvocation(OperationDescription axisop, MessageContext msgCtx) throws AxisFault
AxisFault
protected MessageContext prepareTheSOAPEnvelope(OMElement toSend) throws AxisFault
toSend
-
AxisFault
public TransportOutDescription inferTransport(EndpointReference epr) throws AxisFault
epr
-
AxisFault
public SOAPEnvelope createDefaultSOAPEnvelope() throws AxisFault
AxisFault
public void engageModule(javax.xml.namespace.QName name) throws AxisFault
name
-
AxisFault
public void setSoapVersionURI(java.lang.String string)
string
- public void setSoapAction(java.lang.String string)
string
- public void setWsaAction(java.lang.String string)
string
- public void setExceptionToBeThrownOnSOAPFault(boolean exceptionToBeThrownOnSOAPFault)
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.
This boolean variable will enable that facility. If this is false, the response message will just
be returned to the application, irrespective of whether it has a Fault or not.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |