use of com.predic8.membrane.core.resolver.ResolverMap in project service-proxy by membrane.
the class ValidatorInterceptorTest method createValidatorInterceptor.
private ValidatorInterceptor createValidatorInterceptor(String wsdl) throws Exception {
ValidatorInterceptor interceptor = new ValidatorInterceptor();
interceptor.setResourceResolver(new ResolverMap());
interceptor.setWsdl(wsdl);
interceptor.init();
return interceptor;
}
use of com.predic8.membrane.core.resolver.ResolverMap in project service-proxy by membrane.
the class SOAPProxy method init.
@Override
public void init() throws Exception {
super.init();
if (wsdl == null)
return;
resolverMap = router.getResolverMap();
if (httpClientConfig != null) {
HTTPSchemaResolver httpSR = new HTTPSchemaResolver();
httpSR.setHttpClientConfig(httpClientConfig);
resolverMap = resolverMap.clone();
resolverMap.addSchemaResolver(httpSR);
}
configure();
}
Aggregations