all groups > dotnet xml > may 2006 >
You're in the

dotnet xml

group:

problem processing SOAP response


problem processing SOAP response Robbert van Geldrop
5/23/2006 2:04:02 AM
dotnet xml:
Hello,

I have a problem consuming a WebService which appears to be dependent of the
type of network I am on:

The following SOAP response is not processed when I am connected over the
internet with the WebService but it is processed correctly when I am on the
local LAN:

Can it have something todo with the maximum response size and WebServices
bypassing this if the server is in a LAN?

HTTP/1.1 200 OK

Date: Sun, 21 May 2006 13:30:06 GMT

Server: Microsoft-IIS/6.0

X-Powered-By: ASP.NET

X-AspNet-Version: 1.1.4322

Cache-Control: private, max-age=0

Content-Type: text/xml; charset=utf-8

Content-Length: 10950



<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action>http://localhost/BAWebService2/UploadBatchResponse</wsa:Action><wsa:MessageID>uuid:cef0ee8c-5b1c-4e9b-9974-401b95204197</wsa:MessageID><wsa:RelatesTo>uuid:3c138098-d62d-43b0-b54a-419da61d57ba</wsa:RelatesTo><wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp
wsu:Id="Timestamp-f1979894-c86a-42e9-9556-84b8b2e00e0b"><wsu:Created>2006-05-21T13:30:06Z</wsu:Created></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><UploadBatchResponse
xmlns="http://localhost/BAWebService2"><UploadBatchResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\The
Skypeness.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skypers of the
Caribbean.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype
Pictures\Skype-ahoy.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Time.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype
Pictures\Skype-a-Manger.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
San.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Shorty.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Smiley.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype Me
Sweetheart.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Jyve.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Safety.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Headset.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Jah.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Goaaaaal.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Extreme.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype Cool
Shades.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Cola.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Boarder.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Candy.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
Aid.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype Brrr...
..jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
502.jpg</FileInfo><Result>Sucess</Result><NbVersionsToDelete>0</NbVersionsToDelete><NbRetries>0</NbRetries></BatchFileResult><BatchFileResult><FileInfo>C:\Documents
and Settings\Robbert\Mijn documenten\My Skype Pictures\Skype
RE: problem processing SOAP response Robbert van Geldrop
5/24/2006 12:48:02 AM
Hello Kevin,

I have a VS.Net generated proxy class that uses the WSE 2.0 sp3 to consume
the WebService. I sniffed the TCP/IP traffic using Etherreal and found out
that the server does send back the response, but in the debugger a timeout
Exception is raised only after a number of seconds. We don't use any own
logic in consuming and exposing the WebService and follow the MS standards
completely.

I also found that one of my HTTP 1.1/OK server responses fails at TCP-level
with the following message:
Checksum: 0x37b3 [incorrect, should be 0x8664]

Two things come to my attention:
- This problem only occurs if the SOAP response is relatively large (but I
don't at which size this problem kicks in)
- There is no way I can influence my data traffic on TCP-level, so where can
this come from?

Hope this is helpful for you to determine what is going on,

--
rvangeldrop


[quoted text, click to view]
RE: problem processing SOAP response v-kevy NO[at]SPAM online.microsoft.com
5/24/2006 2:24:36 AM
Hi rvangeldrop,

In your post, you mentioned that the SOAP response is not processed. Could
you let me know how do you find that SOAP is not processed? Is the client
throwing an exception? Also, how is the client generated? Is it generated
by VS.NET or written with your own code to parse the SOAP message?

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
RE: problem processing SOAP response v-kevy NO[at]SPAM online.microsoft.com
5/25/2006 5:31:23 AM
Hi rvangeldrop,

Could you test at what size of the response does this error occurs? It
seems a checksum is incorrect at TCP level that we cannot control. If you
don't use
WSE, does the same issue occur?

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
RE: problem processing SOAP response Robbert van Geldrop
5/26/2006 2:49:01 AM
Hello Kevin,

Here are the results so far for testing this issue:
It is a server side error since multiple client/server connections over the
internet fail. The only one that doesn't fail is the local connection (inside
the LAN).

The machine handles traffic inside and outside the LAN with different
network cards. I will test with a different machine during the next days. I
will test:
- If WSE makes a difference.
- If there is different behaviour over an HTTPS connection
- If the bug is caused by a network card which calculates the checksums
incorrectly

Meanwhile can you check documentation (internal or external) to see if there
are maximum or recommended SOAP Response sizes and known issues on large SOAP
Responses (with or without WSE 2.0)?

Regards,

--
rvangeldrop


[quoted text, click to view]
RE: problem processing SOAP response v-kevy NO[at]SPAM online.microsoft.com
5/29/2006 3:55:03 AM
Hi rvangeldrop,

The maximum size of the response is limited by the web server. When the
amount of data send or received by the Web service exceeds 4 MB, configure
the Web server to handle the larger amount of data.

Please check the following links for more information about enabling a Web
Service to Send and Receive Large Amounts of Data.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0/html
/4344d43e-ceb4-43a9-8f8c-6a3f89f786bd.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0/html
/b4b19453-e4e4-4056-906d-72504ed8c0df.asp

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
AddThis Social Bookmark Button