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' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:getSerialNumber xmlns:ns1="http://webservices.installer.fusion7.fusion.websitepros.com/FusionAccountsManager">
<ns1:SerialNumber>NNW-100-R-084-00024-30806</ns1:SerialNumber>
</ns1:getSerialNumber>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
RESPONSE
 
HTTP/1.1 200 OK
 
Content-Type: text/xml;charset=utf-8
 
Transfer-Encoding: chunked
 
Date: Thu, 26 May 2005 10:11:24 GMT
 
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]
Sent: 26 mai 2005 13:01
To: Apache AXIS C User List
Subject: RE: Server closing connection

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-----
From: Popa Horia [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 3:54 PM
To: [email protected]
Subject: Server closing connection

 

 

 

        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

Reply via email to