public class AxisServiceClientUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ONE_WAY |
static boolean |
TWO_WAY |
| Constructor and Description |
|---|
AxisServiceClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isServiceAvailable(String serviceUrl) |
static org.apache.axiom.om.OMElement |
sendRequest(String payloadStr,
org.apache.axis2.addressing.EndpointReference targetEPR) |
static void |
sendRequest(String eprUrl,
String operation,
String payload,
int numberOfInstances,
List<String> expectedStrings,
boolean twoWay) |
static void |
sendRequest(String eprUrl,
String operation,
String payload,
int numberOfInstances,
String expectedException,
boolean twoWay) |
static void |
sendRequestOneWay(String payloadStr,
org.apache.axis2.addressing.EndpointReference targetEPR) |
static void |
waitForServiceDeployment(String serviceUrl) |
static void |
waitForServiceUnDeployment(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 static void sendRequestOneWay(String payloadStr, org.apache.axis2.addressing.EndpointReference targetEPR) throws XMLStreamException, org.apache.axis2.AxisFault
XMLStreamExceptionorg.apache.axis2.AxisFaultpublic static boolean isServiceAvailable(String serviceUrl)
public static void waitForServiceDeployment(String serviceUrl)
public static void sendRequest(String eprUrl, String operation, String payload, int numberOfInstances, List<String> expectedStrings, boolean twoWay) throws Exception
Exceptionpublic static void sendRequest(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.