473,802 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SOAP and Chunked Transfer

Hi,

I have a .NET client and Java web service.

I send an request and the answer with a correct SOAP message.

But on the .NET client I get an exeption from the XML deserializer that he
has found characters which he doesn't understand.

When I look at the respond (via network monitor), I see that the message was
sent as chunked transfer coding (transfer-coding = "chunked").
The XML parser has problem with content length character before the XML
message (Exception is thrown in Invoke method). It seems that these
characteres are not filtered.

Where could be the problem?
Wrong encoding?
HTTP 1.0 used?

Does the .NET SoapHttpClientP rotocol support 'chunked' HTTP messages?

Thanks
Eric
Nov 21 '05 #1
2 5773
I have had heisenberg issues related to this.
Using the network monitor actually changed the behavior I was seeing in some
cases. (not sure why, maybe just a broken network monitor). This doesn't
happen always, but I did battle it once.

But to answer your question, yes, .NET does support chunking.

-D
"Eric" <fi****@earthli ng.net> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi,

I have a .NET client and Java web service.

I send an request and the answer with a correct SOAP message.

But on the .NET client I get an exeption from the XML deserializer that he
has found characters which he doesn't understand.

When I look at the respond (via network monitor), I see that the message was sent as chunked transfer coding (transfer-coding = "chunked").
The XML parser has problem with content length character before the XML
message (Exception is thrown in Invoke method). It seems that these
characteres are not filtered.

Where could be the problem?
Wrong encoding?
HTTP 1.0 used?

Does the .NET SoapHttpClientP rotocol support 'chunked' HTTP messages?

Thanks
Eric

Nov 21 '05 #2

'Dino Chiesa [Microsoft Wrote:
;2329247']I have had heisenberg issues related to this.
Using the network monitor actually changed the behavior I was seeing in
some
cases. (not sure why, maybe just a broken network monitor). This
doesn't
happen always, but I did battle it once.

But to answer your question, yes, .NET does support chunking.

-D
"Eric" <fi****@earthli ng.netwrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi,

I have a .NET client and Java web service.

I send an request and the answer with a correct SOAP message.

But on the .NET client I get an exeption from the XML deserializer
that he
has found characters which he doesn't understand.

When I look at the respond (via network monitor), I see that the
message
was
sent as chunked transfer coding (transfer-coding = "chunked").
The XML parser has problem with content length character before the
XML
message (Exception is thrown in Invoke method). It seems that these
characteres are not filtered.

Where could be the problem?
Wrong encoding?
HTTP 1.0 used?

Does the .NET SoapHttpClientP rotocol support 'chunked' HTTP
messages?

Thanks
Eric

Hi, All. Dino, could you tell us how can we set http chunking up in our
web service? (.Net Framework 2.0 and WSE 3.0)
--
vgindin
Dec 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
16823
by: jonathan.kleid | last post by:
I'm trying to figure out how to enable chunked encoding with php over apache2 for a particular page. My php/apache combination definitely supports chunked encoding, because a page which calls only phpinfo() uses it. On the other hand, pages without phpinfo() don't get sent with chunked encoding (content-length is used instead). Does anyone know how to specifically enable chunked encoding for a given page? Thanks, Jon
0
1716
by: d21mike | last post by:
When I get the following input stream of chunked data I ge Request.TotalBytes = -1 because there is not Content-Length. The following will work because I hardcoded the correct length: TotalBytes = 16 strBRequest = Request.BinaryRead(TotalBytes) I get: 16 bytes of data (see below) However, if I don't know the length and try to use something > 16 li 100 then I get at error and the TotalBytes is set to 16 and th
5
2048
by: TC | last post by:
Hello, I have been asked to port a VB6 / SOAP SDK app to C# .Net using web services and do it quickly. I have a remote SOAP interface that I've referenced and can now call methods on. What I am unsure of is how such items below from the SOAP SDK transfer to ..Net: .Reader.RPCResult
1
3383
by: Clara Yeung | last post by:
I have captured some SOAP messages (using org.wsi.test.monitor.Monitor of the WSI test tool). When I try to analyze the messages with WSI test tool analyzer, the "message" artifact of the report always return "Missing Input". I have tried various "correlationType: endpoint, operation, namespace". When I eyeball the captured SOAP messages, they looks fine with correct namespace and valid operation name within the soap body of the...
1
9860
by: Paul | last post by:
Hi, I have a web service application that uses AXIS at the server side and C# at the client side. the C# client code was generated using wsdl.exe. When AXIS raised an exception, it sends the soap exception back to client with HTTP 500 internal server error: HTTP/1.1 500 Internal Server Error Date: Wed, 14 Dec 2005 00:18:16 GMT
2
7403
by: lazypig06 | last post by:
Hi ! Yesterday, I posted a topic regarding to XML problem that I've been having. The old topic can be found at: http://groups.google.com/group/comp.lang.php/browse_thread/thread/401e2b5cb251c21/8a0eeb03626018f4?lnk=st&q=lazypig06%40gmail.com&rnum=1&hl=en#8a0eeb03626018f4 Thanks to Álvaro G. Vicario for pointing out "chunked" transfer thing. Anyway, I tried to avoid "chunked" transfer in HTTP protocol. I have looked at...
3
5980
by: jdvolz | last post by:
I am having errors which appear to be linked to a previous bug in urllib2 (and urllib) for v2.4 and v2.5 of Python. Has this been fixed? Has anyone established a standard workaround? I keep finding old posts about it, that basically give up and say "well it's a known bug." Any help would be greatly appreciated.
12
2750
by: =?Utf-8?B?Sm9uYXMgRXJpY3Nzb24=?= | last post by:
The release notes for IIS 6.0 talks about ASP support for POSTs from clients that are using chunked Transfer-encoding. Does anyone know what this support means? It does not seem to be possible to use Request.BinaryRead, and Request.TotalBytes returns -1. Thanks
2
5868
by: VeeraLakshmi | last post by:
Can anybody tell me how to get or read the value of transfer encoding. I got the HTTP Response header as "Transfer-Encoding: chunked".But i can't get the chunk size or the chunked data. Without getting those details i cant read the content of the site.If Content-Length is in the HTTP header,i can read upto that length.But in this Transfer-Encoding case,i cant know any other details except the value "chunked".So suggest me to read the content...
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10305
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.