This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 11

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?
Similar Threads
WSIMPORT error while using it with AXIS2
Best Practice for creating a webservice client Not a coding question
JAX-WS RI wsimport not working
I need to write a client for Testing the SEI implemented as stateless session bean
create web service client url https