public class SoapServerRule extends SoapServiceRule
| Constructor and Description |
|---|
SoapServerRule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
assertValidAddress(String address) |
void |
destroy() |
static SoapServerRule |
newInstance() |
<T> void |
proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations,
Map<String,Object> properties)
Create (and start) an endpoint with the given properties.
|
void |
reset() |
void |
start()
(Re)start services.
|
void |
stop()
Stop services.
|
assertValidParams, mock, mock, mock, mock, mock, mock, newInstance, newInstance, parsePort, processProperties, properties, proxy, verifyPropertiespublic static SoapServerRule newInstance()
public <T> void proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations,
Map<String,Object> properties)
SoapServiceRuleproxy in class SoapServiceRuleT - the type of the mocked classtarget - instance calls are forwarded toport - service classaddress - address, i.e. http://localhost:1234wsdlLocation - wsdl location, or nullschemaLocations - schema locations, or nullproperties - additional properties, like mtom-enabled etc.protected void after()
after in class org.junit.rules.ExternalResourcepublic void destroy()
public void stop()
SoapServiceRulestop in class SoapServiceRulepublic void start()
SoapServiceRulestart in class SoapServiceRulepublic void reset()
protected void assertValidAddress(String address)
assertValidAddress in class SoapServiceRuleCopyright © 2023. All rights reserved.