This class will invokes a SOAP operation and optionally check the response.
More...
This class will invokes a SOAP operation and optionally check the response.
- If the response is not known in advance:
- If the response is not known in advance:
-
◆ CallSoapMethod() [1/2]
com.qoretechnologies.qorus.test.CallSoapMethod.CallSoapMethod |
( |
SoapClient |
soapClient, |
|
|
String |
operation, |
|
|
Object |
args |
|
) |
| throws Throwable |
|
inline |
Creates the action from the arguments.
- Parameters
-
soapClient | the SoapClient instance to use for invoking the operation |
operation | the name of the SOAP operation to invoke |
args | the arguments to the operation |
◆ CallSoapMethod() [2/2]
com.qoretechnologies.qorus.test.CallSoapMethod.CallSoapMethod |
( |
String |
wsdl, |
|
|
String |
url, |
|
|
String |
operation, |
|
|
Object |
args |
|
) |
| throws Throwable |
|
inline |
Creates the action from the arguments.
- Parameters
-
wsdl | the name of the WSDL file |
url | the URL of the server |
operation | the name of the SOAP operation to invoke |
args | the arguments to the operation |
◆ expectResponse()
CallSoapMethod com.qoretechnologies.qorus.test.CallSoapMethod.expectResponse |
( |
Object |
expectedResponse | ) |
throws Throwable |
|
inline |
Sets the expected response to be checked by run()
- Parameters
-
expectedResponse | the expected response |
- Returns
- this for chaining
◆ getInfo()
HashMap<String, Object> com.qoretechnologies.qorus.test.CallSoapMethod.getInfo |
( |
| ) |
throws Throwable |
|
inline |
Returns a hash of technical information about the SOAP call (raw message info and headers)
- Returns
- a hash of technical information about the SOAP call (raw message info and headers)
◆ getResponse()
Object com.qoretechnologies.qorus.test.CallSoapMethod.getResponse |
( |
| ) |
throws Throwable |
|
inline |
Returns the actual value returned by the SOAP operation.
- Returns
- the actual value returned by the SOAP operation
◆ run()
Invokes the SOAP operation specified in constructor and optionally checks the response if the expectResponse() method was called.
- Parameters
-
The documentation for this class was generated from the following file:
- /builds/qorus/qorus/java/com/qoretechnologies/qorus/test/CallSoapMethod.java