public class RequestSender extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ONE_WAY |
static boolean |
TWO_WAY |
| Constructor and Description |
|---|
RequestSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertRequest(String eprUrl,
String operation,
String payload,
int numberOfInstances,
String expectedException,
boolean twoWay) |
boolean |
isServiceAvailable(String serviceUrl) |
static org.apache.axiom.om.OMElement |
sendRequest(String payloadStr,
org.apache.axis2.addressing.EndpointReference targetEPR) |
void |
sendRequest(String eprUrl,
String operation,
String payload,
int numberOfInstances,
List<String> expectedStrings,
boolean twoWay) |
void |
sendRequestOneWay(String payloadStr,
org.apache.axis2.addressing.EndpointReference targetEPR) |
void |
waitForProcessDeployment(String serviceUrl) |
public static final boolean TWO_WAY
public static final boolean ONE_WAY
public static org.apache.axiom.om.OMElement sendRequest(String payloadStr, org.apache.axis2.addressing.EndpointReference targetEPR) throws XMLStreamException, org.apache.axis2.AxisFault
XMLStreamExceptionorg.apache.axis2.AxisFaultpublic void sendRequest(String eprUrl, String operation, String payload, int numberOfInstances, List<String> expectedStrings, boolean twoWay) throws Exception
Exceptionpublic void sendRequestOneWay(String payloadStr, org.apache.axis2.addressing.EndpointReference targetEPR) throws XMLStreamException, org.apache.axis2.AxisFault
XMLStreamExceptionorg.apache.axis2.AxisFaultpublic boolean isServiceAvailable(String serviceUrl)
public void waitForProcessDeployment(String serviceUrl) throws Exception
Exceptionpublic void assertRequest(String eprUrl, String operation, String payload, int numberOfInstances, String expectedException, boolean twoWay) throws XMLStreamException, org.apache.axis2.AxisFault
XMLStreamExceptionorg.apache.axis2.AxisFaultCopyright © 2015 WSO2 Inc. All rights reserved.