blaiz128
blaiz128

Reputation: 115

Spring - WebServiceTemplate with socks proxy

I want to make SOAP request using proxy, but I need to use SOCKS instead of HTTP. Using java.net.Proxy I can build something like this:

Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress("host", port));

Is there a way to pass this instance to WebServiceTemplate? I found a solution for HTTP so can I do something like that?

Upvotes: 1

Views: 525

Answers (0)

Related Questions