.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > how to get the length of the response
 

how to get the length of the response

Hi,
I'm using an asp.net web service. When I invoke a web method of the service, I want to get the length of the response, i.e., I want to get how many bytes the client has received from the server. Is there any api?
Thanks.
bertpu
Hello bertpu you can use HttpWebRequest to request a webservice
and you can get the reponse bytes's length through HttpWebResponse
Wenn ich dich habâ€?gibt es nichts, was unerträglich ist.åšæŒä¸æ‡ˆï¼?/font>http://hi.baidu.com/1987raymond
1987raymond
Canthe auto-generated web service proxyclasses do this?
bertpu

You can use google to search for other answers

Custom Search

More Threads

• xmlwebservices
• Serialization creates XmlElement in a xml document
• view soap messages
• Soap Exception Problem
• Server actively refused connection
• adding web reference throws m_safeCertContext is an invalid handle
• WS-Addressing & WSDL (pre-WCF)
• Creating Web Services / web pages in Windows Server 2003
• Running ASP.NET as NetworkService
• Code to encrypt the Password or any string