I have a WCF client to consume an AXIS WebService hosted on an Apache
Looking at the network data I can see that the server did understand the WCF
request and returns a "TransferEncoding: chunked". So the HTTPPayload always
starts with some bytes to indicate the length of the following block. The
length information is followed by a CR+LF followed by the block of the
specified length, followed by a CR+LF. The next block has an HTTPpayload of
"00 0d 0a 0d 0a 00" which seems to indicate the end of data.
The first block does contain a valid SOAP response, but my WCF client does
not seem to recognize it. I guess because the HTTPPayload starts with the
length indicator and not with the SOAP data. So my return value (of type
string in my case) is always null.
I specified a transferMode of Streamed in my app.config but that a did small
change only: the client request is now streamed to the server, which still
processes it and returns a streamed response which again doesn't make it
into my return value. I tried StreamedResponse, also - no success. Here is
some part of my config:
maxReceivedMessageSize="67108864" transferMode="Streamed" />
contract="Process" name="Process" />
The Process contract has 3 string params as input and returns a string.
Calling that Service with .Net 2 Web References works flawlessly.