Hello,

I am having trouble figuring out how to set the client's timeout property when 
using a dynamic proxy.

eg:
Service srv = new Service(wsdl, new QName(uri, serviceName));
SomeWS ws = (SomeWS)srv.getPort(SomeWS.class);

I have seen the common example of casting the binding to a Stub, but that only 
appears to be possible if "ws" is an instance of a generated stub 
implementation - not a dynamic proxy (Remote instance).

Any help would be appreciated.

Thanks.
Chris

P.S. The services I am making are meant to be as straight forward as possible, 
and not depend on lots of setup code, or use of wsdl2java - hence the reason 
for dynamic proxies.

Reply via email to