|
I was asking for the SOAP
message to see if there is any connection related HTTP headers like
“connection: close”, which Axis C++ is capable of handling. The “FIN” is
at TCP/IP level and this seems to be not handled by the transport – so
you are correct. The problem is that
because the HTTP version is 1.1, the transport assumes the default behavior of
“connection: keep-alive” and assumes the connection to be open next
time around. I think the solution would be to have a “FIN” handling
mechanism at the Channel level. In my understanding this is a bug in Axis C++
and need to be fixed. Thanks, Samisa… -----Original Message----- I have
installed a network analizer: http://www.ethereal.com/ and
checked the TCP/IP packages sent between the client and server. After
about 10 seconds after the client receives the response from the server, the
server send a TPC/IP package "FIN" in which it announce the client
that it is closing the connection. In my
opinion the problem is not at the SOAP messages level but in the HTTP
connection. Below
are the SOAP messages. Great
and fast response/support from Axis team. Thank you ! REQUEST: POST
/axis/services/FusionAccountsManagerService HTTP/1.1 Host:
127.0.0.1:5555 Content-Type:
text/xml; charset=UTF-8 Authorization:
Basic blBvd2VyMS4wOjEyMzQ= SOAPAction:
"" Content-Length:
475 <?xml
version='1.0' encoding='utf-8' ?> RESPONSE HTTP/1.1
200 OK Content-Type:
text/xml;charset=utf-8 Transfer-Encoding:
chunked Date:
Thu, Server:
Apache-Coyote/1.1 1b9 <?xml
version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getSerialNumberResponse
xmlns="http://webservices.installer.fusion7.fusion.websitepros.com/FusionAccountsManager"><GetSerialNumberResult
xsi:nil="true"/></getSerialNumberResponse></soapenv:Body></soapenv:Envelope> 0 From: Samisa
Abeysinghe [mailto:[EMAIL PROTECTED] The
client is capable of re-using the connection – this has been tested to
work. What do
you men by “the server sends a FIN package”? Could
you please send the request and response SOAP messages? Thanks, Samisa… -----Original Message-----
I have a Java Axis server and a client in C++, client generated by
the Axis C framework. The client runs on windows. The problem is that after a first
successful request to the server, the server send a FIN package to the client
and the connection is closed. When I make another request the C client throws
an exception because the connection is closed and the client it seems it
doesn't check for closed connection. My solution was to create a new instance
of the stub prior to every request. I think something is wrong with the client
because it should know to re-use a connection. Any ideas? Thanks |
- Server closing connection Popa Horia
- RE: Server closing connection Samisa Abeysinghe
- RE: Server closing connection Popa Horia
- RE: Server closing connection Samisa Abeysinghe
