You may want to look at
org.apache.axis.transport.http.HTTPSender#invoke.  It uses a local
variable "sock" for the socket created by getSocket, calls writeToSocket
and readFromSocket, then exits the scope in which sock is declared.  If
this invoke method is how RPC calls are made, then you don't have any
control over closing the socket; presumably, it will be closed by the
socket implementation when sock is garbage collected.

In the future, you should send Axis quesions to [EMAIL PROTECTED]
or [EMAIL PROTECTED]

Scott Nichol

----- Original Message -----
From: "Marios Karagiannopoulos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 11:06 AM
Subject: FW: soap_closesock()??


> Hi guys. I'm trying to close all the soap sockets,
> that did a SOAP call but I don't know how. I'm working
> with Axis API (JAVA).
>
> Thanks
> Marios
>
>
> --
> To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@;xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@;xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@;xml.apache.org>

Reply via email to