aspose file tools*
The moose likes Web Services and the fly likes wsimport generated WebService and Proxy? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsimport generated WebService and Proxy?" Watch "wsimport generated WebService and Proxy?" New topic
Author

wsimport generated WebService and Proxy?

Florian Schaetz
Greenhorn

Joined: Oct 14, 2009
Posts: 13
Hello,

is there any possibility to set a - webservice-specific - proxy host (and port) to a webservice-client (created with wsimport) without using the system properties (http.proxyHost and http.proxyPort)? Unfortunately, I can't use those, as they interfer with other processes and using the nonProxyHosts property makes the whole thing harder to maintain. So it would be great if someone had an idea how to insert, for example, a java.net.Proxy object into a Webservice created with wsimport.

Thanks,

Flo
Yogendra Rampuria
Greenhorn

Joined: Jun 05, 2013
Posts: 1
I arrived on this post looking for a way to use proxy for internal (intranet) URLs and skip proxy for external URLs (w3c.com) using the wsimport.exe (part of JDK 1.6, 1.7,etc). I see that it does not have the facility to put nonProxyHosts, so I went ahead and used Java class invocations.

Something like this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsimport generated WebService and Proxy?