English 中文(简体)
更好理解 在SOAP请求/Respons
原标题:Better understand Read Timeout During SOAP Request/Response
  • 时间:2011-10-19 19:33:42
  •  标签:
  • soap
  • timeout

I would like someone to clarify something for me: There are two kinds of timeouts that exist during SOAP requests/responses: 1- Connection Timeout 2- Read Timeout

This applies at least to Axis1/Axis2, which I m currently using. The connection timeout happens when the client couldn t connect to the web service in question within the set Connection Timeout value, and which would eventually result in throwing the following exception : Could not connect to host within a timeout of "value".

至于阅读时间,我确实不相信,我不知道什么假设是真实的。 举例来说,如果客户向网络服务机构发送数据,从而处理数据,检查数据是否合理,在数据库中插入数据,然后网络服务将向客户发送一些数据。 底层,我们在服务器上拥有大量处理时间,在客户和网络服务之间传送了大量数据。

我无法理解的是,什么时候是被客户抛弃的阅读时间例外?

1- Could it happen when the client is still in the process of marshaling the objects that are being sent to the web service? 2- Could it happen during the process when the web service has already started writing its response to the open socket?

I could really appreciate clear answers on this. Thanks a lot in advance.

最佳回答

现在,由于我为研究这一问题所作的努力,它变得更加清楚。 基本上,当客户未按日期推卸任何东西时,“重新排位”。 因此,如果服务器需要向有4个甲基溴数据的客户做出回复,就应当采取这样的假设。 用户从服务器获得的每批数据将重新开始阅读。

问题回答

暂无回答




相关问题
Python SOAP server / client

I have a problem with Python and SOAP. I need to create a web service based on SOAP in Python. I read that I can use libraries like soaplib, suds and ZSI. I created a Hello World web service with ...

HTTP POST and complex structures

I m trying to send a complex HTTP POST request to a web service. The web service was created using VS2008, in which you can set VS to create HTTP POST and GET interfaces alongside the SOAP one. Now ...

XML-RPC Standard and XML Data Type

I was looking at XML-RPC for a project. And correct me if I m wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? ...

Most appropriate API for URL shortening service

I ve just finished an online service for shortening URLs (in php5 with Zend Framework); you can enter an URL and you get an short URL (like tinyurl and such sites). I m thinking about the API for ...

What is the best solution for creating a SOAP Server in PHP?

I need some advice on which library is the best choice when it comes to creating SOAP servers (and eventually SOAP clients) in PHP. I know there is built-in functions for this, but is that really the ...

Logging all Soap request and responses in PHP

Does anyone know how to log all request and responses with the builtin SoapClient in PHP? I could in fact manually log everything with SoapClient::__getLastRequest() and SoapClient::__getLastResponse()...

热门标签