Curious HTTPRIO soap problem.



Hi Guys,

I'm connecting to a client's soap service, and everything has been
working fine, except the client's system is a bit wobbly.

Unfortunately this seems to be causing my process to hang for a very
long time (approx 30 mins) before it decides that the SOAP server is
not going to talk to it, and then it returns.

After a little bit of a google I found the
THHTPRIO.HTTPWebNode.ConnectTimeout
THHTPRIO.HTTPWebNode.SendTimeout
THHTPRIO.HTTPWebNode.ReceiveTimeout

properties, which look exactly like the kind of thing I need...

But it can't be that simple can it... Oh no....

If I set them to 8000ms, so 8 second time out, my soap call returns
instantly (less than a second) with the following exception

"The data area passed to a system call is too small."

I've tried removing the timeouts one at a time, and it appears that
the error occurs if I have any of them.

Remove them all, and great, it works (until the next time the client's
SOAP server has a wobble).

Oh, D7 arch standard Borland Soap components

HTTPRIO := THTTPRIO.Create(self);
try
with HTTPRIO do
begin
Name := 'HTTPRIO';
OnAfterExecute := HTTPRIO1AfterExecute;
WSDLLocation :='blah blah';
Service := 'CaseInfo';
Port := 'CaseInfoSoap';
// HTTPWebNode.ConnectTimeout:=8000;
// HTTPWebNode.SendTimeout:=8000;
// HTTPWebNode.ReceiveTimeout:=8000;
HTTPWebNode.Agent := 'Borland SOAP 1.1';
HTTPWebNode.UseUTF8InHeader := False;
HTTPWebNode.InvokeOptions := [soIgnoreInvalidCerts];
Converter.Options := [soSendMultiRefObj, soTryAllSchema,
soRootRefNodesToBody, soDocument];
Converter.Encoding := 'utf-8';
end;
except on E:Exception do
...... etc etc

Any ideas?

Cheers,

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
.



Relevant Pages

  • Re: Forms Project
    ... You can submit the forms directly to a SOAP service or email them and ... use the POP3 Adapter to receive them in BizTalk. ... SharePoint integration of BizTalk via the Adapter (though it takes ... It is totally OK to just submit via SOAP and you can even show ...
    (microsoft.public.biztalk.general)
  • SOAP and servlets living together?
    ... I'm trying to develop an application that uses SOAP and servlets. ... This allows the SOAP service to access public methods provided ... Error deploying web application directory myapp ...
    (comp.lang.java.programmer)
  • Re: python soap web services
    ... The WSDL will never as easily be created as in .NET/JAVA, ... static typing annotations that are used by the WSDL-generators. ... as the whole SOAP mess. ... Ravi OTH has pointed out _running_ a SOAP service is easy as cake. ...
    (comp.lang.python)
  • SOAP Question
    ... I suspect there is a problem with on the SOAP handler side, but since I'm not an expect I cannot be sure. ... The vendor has provided me a url to the WSDL document for the soap service. ... When I'm trying to use the methods of the soap service, I get an error saying the method could not be executed. ... What I find strange is, looking at my generated soap proxy class, the URL points back to the WSDL URL, not a URL to a asmx or other page. ...
    (microsoft.public.dotnet.languages.csharp)
  • Y&R- More Unbelievable Than Ever
    ... I'm well aware it's only a soap, and I know about suspension of ... "She's a keeper", blah, blah, blah, ... chance after Jack *repeatedly* SAID that it was casual. ... oh yeah, characters today ...
    (rec.arts.tv.soaps.cbs)