Configuring the Expiration Time for Sending MakeConnection Messages Configuring the Polling Interval

3-24 Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server ■ Section 3.6.2.2, Configuring the Polling Interval ■ Section 3.6.2.3, Configuring the Exponential Backoff ■ Section 3.6.2.4, Configuring MakeConnection as the Transport for Synchronous Methods

3.6.2.1 Configuring the Expiration Time for Sending MakeConnection Messages

Table 3–10 defines that McFeature methods for configuring the maximum interval of time before an MC Initiator stops sending MakeConnection messages to an MC Receiver.

3.6.2.2 Configuring the Polling Interval

Table 3–11 defines that McFeature methods for configuring the interval of time that must pass before a MakeConnection message is sent by an MC Initiator to an MC Receiver after the receipt of an empty response message. If the MC Initiator does not receive a non-empty response for a given message within the specified interval, the MC Initiator sends another MakeConnection message. In the following example, the polling interval is set to 36 hours. ... McFeature mcFeature = new McFeature; mcFeature.setIntervalP0DT36H MyService port = service.getMyServicePortmcFeature; Table 3–10 Methods for Configuring the Expiration Time for Sending MakeConnection Messages Method Description String getsExpires Returns the expiration value currently configured. void setExpiresString expires Set the expiration time. The value specified must be a positive value and conform to the XML schema duration lexical format, PnYnMnDTnHnMnS, where nY specifies the number of years, nM specifies the number of months, nD specifies the number of days, T is the datetime separator, nH specifies the number of hours, n M specifies the number of minutes, and nS specifies the number of seconds. This value defaults to P1D 1 day. Table 3–11 Methods for Configuring the Polling Interval Method Description String getInterval Gets the polling interval. void setIntervalString pollingInterval Set the polling interval. The value specified must be a positive value and conform to the XML schema duration lexical format, PnYnMnDTnHnMnS, where nY specifies the number of years, nM specifies the number of months, nD specifies the number of days, T is the datetime separator, nH specifies the number of hours, n M specifies the number of minutes, and nS specifies the number of seconds. This value defaults to P0DT5S 5 seconds. Invoking Web Services Asynchronously 3-25 ...

3.6.2.3 Configuring the Exponential Backoff