CXF 2.7.0
Win 7, SUSE 11, Red Hat
Java 7
Tomcat 7.0.45

We have developed a web app that is deployed at more than a dozen sites run
by various organizations. The web app can be configured to invoke a specific
web service interface of which multiple domain-specific implementations can
exist at a single site as well as across sites. This is configured by
specifying a set of WSDL URLs that has local dependencies and may change
over time. While we generated the client stub from a local WSDL instance
using wsdl2java, we use the service-specific WSDL URL at runtime to invoke
the associated WS instance.

Basically this works very fine, but it fails if we access the WSDL URL
through an http proxy. The following

fails at

with an underlying 

Our current workaround is to set the /http.proxy/* system props, but being a
VM wide setting it carries the risk of interfering with concurrent
connections. Another obvious workaround would be to resort to local copies
of the WSDL files in question, but we'd like spare our users the additional
effort (plus it would leave further room for errors).

Is there any way of both avoiding system properties and local copies
(relying only on the remote WSDL), or are we doing something basically wrong
here?

Thanks a lot in advance,

Michael

EksService.java
<http://cxf.547215.n5.nabble.com/file/n5743760/EksService.java>  








--
View this message in context: 
http://cxf.547215.n5.nabble.com/HTTP-proxy-problem-with-wsdl-first-client-tp5743760.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to