reficio / soap-ws

Java library, based on Spring-WS, that enables handling SOAP on a purely XML level
297 stars 145 forks source link

bind ip address to soap connection #45

Open 89viral opened 8 years ago

89viral commented 8 years ago

i need solution for this

please refer this link :

http://stackoverflow.com/questions/34553914/java-bind-soap-wsdl-client-request-to-a-specific-ip

cfalzone commented 8 years ago

I don't see why you couldn't pass an IP address as a URL like:

URL u = new URL("http://www.xxx.yyy.zzz:port/somepath/whatever?wsdl");
Wsdl w = Wsdl.parse(u);

Shouldn't be a problem. If it is you could just use a local hosts file to point some random dns to whatever IP you wanted.