7475767778798081828384
return SoapClient.builder().endpointUri("http://" + endpointUrl) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_directProxy() throws Exception {
90919293949596979899100
return SoapClient.builder().endpointUri("http://" + endpointUrl) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_noAuthentication() throws Exception {
107108109110111112113114115116117
.proxyUri("http://127.0.0.1:" + PROXY_PORT) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_basicAuthentication_success() throws Exception {
137138139140141142143144145146147
.proxySecurity(security) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_basicAuthentication_failure() throws Exception {
171172173174175176177178179180
.proxySecurity(props) .build(); } }); } finally { proxyServer.stop(); } } }
8384858687888990919293
.endpointSecurity(securityContext) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_directProxy() throws Exception {
105106107108109110111112113114115
.endpointSecurity(securityContext) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_noAuthentication() throws Exception {
128129130131132133134135136137138
.endpointSecurity(securityContext) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_basicAuthentication_success() throws Exception {
163164165166167168169170171172173
.proxySecurity(security) .build(); } }); } finally { proxyServer.stop(); } } @Test public void testService1_httpProxy_basicAuthentication_wrongKeystore_failure() throws Exception {
201202203204205206207208209210211