Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 95363 invoked from network); 4 May 2007 14:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2007 14:41:23 -0000 Received: (qmail 30503 invoked by uid 500); 4 May 2007 14:41:05 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 30485 invoked by uid 500); 4 May 2007 14:41:05 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 30468 invoked by uid 99); 4 May 2007 14:41:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:41:05 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mgainty@hotmail.com designates 65.54.246.160 as permitted sender) Received: from [65.54.246.160] (HELO bay0-omc2-s24.bay0.hotmail.com) (65.54.246.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 07:40:57 -0700 Received: from hotmail.com ([65.55.138.11]) by bay0-omc2-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 4 May 2007 07:40:36 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 4 May 2007 07:40:36 -0700 Message-ID: Received: from 24.63.77.77 by BAY133-DAV1.phx.gbl with DAV; Fri, 04 May 2007 14:40:32 +0000 X-Originating-IP: [24.63.77.77] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com Reply-To: "Martin Gainty" From: "Martin Gainty" To: References: <427973.54382.qm@web53803.mail.re2.yahoo.com> Subject: Re: Telling when a client disconnects Date: Fri, 4 May 2007 10:40:30 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00AE_01C78E38.A32AC370" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 04 May 2007 14:40:36.0959 (UTC) FILETIME=[2DC75EF0:01C78E5A] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_00AE_01C78E38.A32AC370 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Wayne you can setTimeOutInMilliSeconds for client.options e.g. = stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(60*1000); http://spteam-lists.blogspot.com/2007/04/re-how-to-increase-time-out-of-a= xis2.html HTH/ This email message and any files transmitted with it contain = confidential information intended only for the person(s) to whom this email message = is addressed. If you have received this email message in error, please = notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message -----=20 From: Wayne Johnson=20 To: Axis=20 Sent: Friday, May 04, 2007 10:26 AM Subject: Telling when a client disconnects I have an Axis WSDD service that needs to tell if and when a client = disconnects, so that we can clean up session information. I can't = simply rely on a logoff method getting called, because the disconnect = might be based on external factors, like loss of network, etc. We also appear to have a problem with the client timing out. Is there = a way to detect when this happens before we try to send the next packet? = Or of preventing timeouts? Thanks. ---=20 Wayne Johnson, | There are two kinds of people: Those=20 3943 Penn Ave. N. | who say to God, "Thy will be done,"=20 Minneapolis, MN 55412-1908 | and those to whom God says, "All right,=20 (612) 522-7003 | then, have it your way." --C.S. Lewis -------------------------------------------------------------------------= ----- Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight = and hotel bargains. ------=_NextPart_000_00AE_01C78E38.A32AC370 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Wayne
 
you can setTimeOutInMilliSeconds for client.options=20 e.g.

  stub._getServiceClient().getOptions().setTimeOutI= nMilliSeconds(60*1000);
http://spteam-lists.blogspot.com/2007/04/re-how-to-inc= rease-time-out-of-axis2.html
 
HTH/
This email message and any files transmitted with it contain=20 confidential
information intended only for the person(s) to whom this = email=20 message is
addressed.  If you have received this email message = in error,=20 please notify
the sender immediately by telephone or email and = destroy the=20 original
message without making a copy.  Thank you.
----- Original Message -----
From:=20 Wayne = Johnson
To: Axis
Sent: Friday, May 04, 2007 = 10:26 AM
Subject: Telling when a client=20 disconnects

I have an Axis WSDD service that needs to tell if and = when a=20 client disconnects, so that we can clean up session information.  = I can't=20 simply rely on a logoff method getting called, because the disconnect = might be=20 based on external factors, like loss of network, etc.

We also = appear to=20 have a problem with the client timing out.  Is there a way to = detect when=20 this happens before we try to send the next packet?  Or of = preventing=20 timeouts?

Thanks.




---
Wayne=20 = Johnson,           = ; =20 | There are two kinds of people:=20 Those
3943 Penn Ave.=20 N.          | who say to God, "Thy will be done,"=20
Minneapolis, MN 55412-1908 | and those to whom God says, "All right, =
(612)=20 = 522-7003           = ; =20 | then, have it your way." --C.S. = Lewis


Finding fabulous fares is fun.
Let=20 Yahoo! FareChase search your favorite travel sites to find flight = and=20 hotel bargains. ------=_NextPart_000_00AE_01C78E38.A32AC370--