|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.clientapi.MEPClient
org.apache.axis2.clientapi.InOnlyMEPClient
org.apache.axis2.clientapi.MessageSender
Message Sender is the class simmiler to the Call, one that provides much simpler API to users to work with.
Field Summary |
Fields inherited from class org.apache.axis2.clientapi.InOnlyMEPClient |
messageInformationHeaders, senderTransport |
Fields inherited from class org.apache.axis2.clientapi.MEPClient |
doREST, doRestThroughPOST, isExceptionToBeThrownOnSOAPFault, mep, serviceContext, soapAction, soapVersionURI, wsaAction |
Constructor Summary | |
MessageSender()
|
|
MessageSender(ServiceContext service)
Service context of the Service this MessageSender handles, compare this with the Call, simpler method. |
|
MessageSender(java.lang.String repo)
This constrctor is to take repository as aragumnet and build the Configurationcontext using that |
Method Summary | |
void |
send(java.lang.String opName,
OMElement toSend)
Send the SOAP Message, the actual worker |
Methods inherited from class org.apache.axis2.clientapi.InOnlyMEPClient |
send, setFaultTo, setFrom, setMessageId, setRelatesTo, setReplyTo, setSenderTransport, setTo, setWsaAction |
Methods inherited from class org.apache.axis2.clientapi.MEPClient |
createDefaultSOAPEnvelope, engageModule, getSoapAction, inferTransport, prepareInvocation, prepareTheSOAPEnvelope, setDoREST, setExceptionToBeThrownOnSOAPFault, setRestThroughPOST, setSoapAction, setSoapVersionURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageSender(ServiceContext service)
service
- public MessageSender() throws AxisFault
public MessageSender(java.lang.String repo) throws AxisFault
repo
- repository location
AxisFault
Method Detail |
public void send(java.lang.String opName, OMElement toSend) throws AxisFault
opName
- toSend
-
AxisFault
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |