SOAP request faultcode 65794 (stream error)
SOAP request faultcode 65794 (stream error)
- Subject: SOAP request faultcode 65794 (stream error)
- From: "Tom Chen" <email@hidden>
- Date: Wed, 12 Nov 2008 16:52:52 -0800
I am making a SOAP request to a web service in Cocoa. Prior to a few
days ago, the request was working. The SOAP request was parametrized
correctly and by enabling the debug output of the outgoing/incoming
headers/body I could see that everything was working correctly and
getting a proper response. A few days ago, running the same request
resulted in a delayed server response after the following line of
code:
...
WSMethodInvocationRef invocation = [self getInvocation]; // assume
getInvocation returns correctly
CFDictionaryRef cfMethodResults =
WSMEthodInvocationInvoke(invocation); // this line
// Below is where the code where we dump the incoming/outgoing
headers/body content
...
After a long period of time, the following response was received:
/FaultCode = 65794
/FaultExtra = {
Domain = 12
Error = 8
Msg = "Stream error"
}
/FaultString = /CFStreamFault
/kWSResultIsFault = 1
The incoming/outgoing headers/body were empty. I did notice on
different runs that the Domain and Error number (not message) were
different from run to run.
I did a quick search online to see for what reasons this failure code
would return. One explanation was that I wasn't closing the request,
however, I was told that you can't and don't close invocations.
Another reason I was thinking of was that the web service was down.
However, going to the URL in a browser showed that the web service was
still up and running.
One point I would like to point out is that if I muck with the
parameters of the request to one that it isn't expecting (e.g. if it's
expecting a parameter name of queryXML and I change it to queryXMLs),
I will get a quick response from the server with an error telling me
so. This will also print out non-empty incoming/outgoing headers/body
in the console. This also seems to reaffirm that the relevant WS setup
code is all working. But once I make the parameters all correct, it
reverts to the behavior of a long delayed response with the error
message above.
Does anyone have any idea what could be wrong?
Thanks,
--Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden