Hi Dan,

 I'm also interested in knowing how to set a timeout per operation. At the
moment I only
 know how to apply timeout per service.


Daniel  Kulp wrote:
> 
> 
>> 
>> 2. is it possibale to set the timeout per operation basis?
> 
> Not in config, no.   In code, before making the call, you can grab the 
> HttpConduit and modify settings right before the call.  
> 
> 
> -- 
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
> 


Just to clarify my use case. Suppose we have a service like below:

public interface SomePortType
{

       public   SomeRS  operation1RQ( ... ) ;
       public   SomeRS  operation2RQ( ... ) ;
       public   SomeRS  operation3RQ( ... ) ;     
    
}
 
  I want to set different receive timeouts for each operation ( e.g. 5 sec,
10 sec. , 15 sec. respectively)
  Could you please give more hints as to how  this can be achieved? 
  What settings of the conduit should be modified ?
  Is one HttpConduit enough or  one conduit per operation ?

 Regards,
 Berns


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Setting-Http-conduit-using-spring-configuration-file-tp2644363p4283714.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to