File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsimport generated WebService and Proxy?" Watch "wsimport generated WebService and Proxy?" New topic

wsimport generated WebService and Proxy?

Florian Schaetz

Joined: Oct 14, 2009
Posts: 18

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 object into a Webservice created with wsimport.


Yogendra Rampuria

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 ( 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:
subject: wsimport generated WebService and Proxy?
It's not a secret anymore!