SOAP Toolkit 2.0 Timeout Problem : XML SOAP
This is a discussion on SOAP Toolkit 2.0 Timeout Problem within the XML SOAP forums in Framework and Interface Programming category; Are there any differences in the Timeout property in SOAP 2.0 and 3.0? The same code which works fine in 3.0 does not work in 2.0. When I run the following code in 3, it timesout in 20 seconds with a mainingful error message. When I execute it using 2, it goes much longer than 20 seconds(at least 45) without a meaningful error message. set sc=Server.CreateObject("MSSOAP.SoapClient30") 'set sc=Server.CreateObject("MSSOAP.SoapClient") sc.ClientProperty("ServerHTTPRequest") =true .... sc.mssoapinit WSDL,"SV_VinElig", "SV_VINEligSoapPort" sc.ConnectorProperty("Timeout") = 20000 strResult = soapClient.getOffer(strinput) I would appreciate any help. Thanks....
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| 2.0 and 3.0? The same code which works fine in 3.0 does not work in 2.0. When I run the following code in 3, it timesout in 20 seconds with a mainingful error message. When I execute it using 2, it goes much longer than 20 seconds(at least 45) without a meaningful error message. set sc=Server.CreateObject("MSSOAP.SoapClient30") 'set sc=Server.CreateObject("MSSOAP.SoapClient") sc.ClientProperty("ServerHTTPRequest") =true .... sc.mssoapinit WSDL,"SV_VinElig", "SV_VINEligSoapPort" sc.ConnectorProperty("Timeout") = 20000 strResult = soapClient.getOffer(strinput) I would appreciate any help. Thanks. |
|
#2
| |||
| |||
| There was a bug in 2.0 that caused it to retry timeouts - this may be what you are seeing. -- This posting is provided "AS IS" with no warranties, and confers no rights. "Sean" <slooney1@ford.com> wrote in message news:29a501c33f41$183c6060$a401280a@phx.gbl... > Are there any differences in the Timeout property in SOAP > 2.0 and 3.0? The same code which works fine in 3.0 does > not work in 2.0. When I run the following code in 3, it > timesout in 20 seconds with a mainingful error message. > When I execute it using 2, it goes much longer than 20 > seconds(at least 45) without a meaningful error message. > > set sc=Server.CreateObject("MSSOAP.SoapClient30") > 'set sc=Server.CreateObject("MSSOAP.SoapClient") > > sc.ClientProperty("ServerHTTPRequest") =true > ... > sc.mssoapinit WSDL,"SV_VinElig", "SV_VINEligSoapPort" > sc.ConnectorProperty("Timeout") = 20000 > strResult = soapClient.getOffer(strinput) > > I would appreciate any help. Thanks. |
![]() |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Soap Toolkit 2.0: default timeout? | usenet | XML SOAP | 0 | 09-01-2005 05:58 PM |
| SOAP Toolkit 3.0 - help with strange problem | usenet | XML SOAP | 3 | 12-31-2004 03:30 PM |
| Handling web service timeout in ASP 3.0 using SOAP toolkit | usenet | XML SOAP | 1 | 11-10-2003 11:02 PM |
| Timeout errors with SOAP 3 toolkit samples | usenet | XML SOAP | 7 | 10-03-2003 08:39 AM |


