I would like a more dynamic way of adjusting the timeout. One way you could do it is to allow for provider specific (or generic for that matter) timeout properties which the client can use to populate the operation context. The same properties would be retrieved in the specific provider and used to set the timeout, where applicable. This way the client code would not be provider specific, as far as I can see.
IB -----Original Message----- From: Jacques-Olivier Goussard [mailto:[EMAIL PROTECTED] Sent: January 31, 2005 1:03 PM To: [email protected] Subject: RE: Timeout setting The problem is that it makes the client code provider specific. As WSIF knows which actual provider is in use, it seems natural to push these customizer into wsif instead of doing it ourself in the client code. Why not use a properties file with provider specific keys and let the provider implementation decide which properties it's interested in ? > -----Original Message----- > From: Aleksander Slominski [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 12:57 PM > To: [email protected] > Subject: Re: Timeout setting > > > Ioan Berbece wrote: > > > OK, thanks. Is this something considered for making > available in the > > next version? > > > hi, > > i am not sure how it could be done in other way? the timeout > is provider > specific property and is not described in WSDL? > > what is the way you would like to see it working - described in WSDL? > > thanks, > > alek > > > > > > > > > > > > > > -------------------------------------------------------------- > ---------- > > > > *From:* Jacques-Olivier Goussard [mailto:[EMAIL PROTECTED] > > *Sent:* January 31, 2005 10:49 AM > > *To:* [email protected] > > *Subject:* RE: Timeout setting > > > > > > > > AFAIK, there is no way to set it other than casting the > provider into the > > > > axis provider and access the Call object directly: > > > > ((WSIFPort_ApacheAxis) m_port).getCall().setTimeout(itimeout); > > > > > > > > /jog > > > > -----Original Message----- > > *From:* Ioan Berbece [mailto:[EMAIL PROTECTED] > > *Sent:* Monday, January 31, 2005 10:43 AM > > *To:* [email protected] > > *Subject:* Timeout setting > > > > Hi, > > > > > > > > What is the way to adjust the timeout in a WSIF invocation? I > > particularly use WSIF with Axis 1.1 on http. I looked > through the > > WSIF code and couldn't find something relevant. I have seen the > > use of a property in a file property to set the timeout for JMS. > > But I'm not sure whether that applies to http as well > or there are > > other means through which this can be achieved. > > > > > > > > Thanks, > > > > IB > > > > > > > > > -- > The best way to predict the future is to invent it - Alan Kay > > > > > >
