Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Web.Services.Protocols.SoapException Pin
Heath Stewart26-Apr-04 10:11
protectorHeath Stewart26-Apr-04 10:11 
GeneralRe: System.Web.Services.Protocols.SoapException Pin
Code Toad27-Apr-04 3:58
Code Toad27-Apr-04 3:58 
GeneralCustomizing Controls in c# - Help Pin
stan2826-Apr-04 9:01
stan2826-Apr-04 9:01 
GeneralRe: Customizing Controls in c# - Help Pin
Heath Stewart26-Apr-04 9:28
protectorHeath Stewart26-Apr-04 9:28 
GeneralRe: Customizing Controls in c# - Help Pin
stan2827-Apr-04 3:26
stan2827-Apr-04 3:26 
GeneralRe: Customizing Controls in c# - Help Pin
Heath Stewart27-Apr-04 3:41
protectorHeath Stewart27-Apr-04 3:41 
GeneralSending POST HTTP request truncates the last character Pin
Le centriste26-Apr-04 8:15
Le centriste26-Apr-04 8:15 
GeneralRe: Sending POST HTTP request truncates the last character Pin
Heath Stewart26-Apr-04 8:54
protectorHeath Stewart26-Apr-04 8:54 
Buffering the entire content can lead to problems. Try using smaller buffers (4096 is typically a good buffer size) and getting bytes and writing to the request stream in a loop till all bytes are sent. I've seen similar problems like this with such a large buffer (and there were some limits in older TCP/IP implementations in Windows, but I don't know if these apply now). I do find it weird that it's just the last character, though. Using a smaller buffer is definitely worth a try, though.

Out of curiousity, why not just create a Web Service proxy (either using VS.NET to generate it from WSDL, which also gives you async capabilities, or deriving manually from HttpWebClientProtocol or SoapHttpClientProtocol depending on your service implementation and your requirements)?

 

Microsoft MVP, Visual C#
My Articles
GeneralGDI+ OnPaint Pin
mookeroo26-Apr-04 5:54
mookeroo26-Apr-04 5:54 
GeneralRe: GDI+ OnPaint Pin
Heath Stewart26-Apr-04 6:10
protectorHeath Stewart26-Apr-04 6:10 
GeneralRe: GDI+ OnPaint Pin
mookeroo27-Apr-04 0:52
mookeroo27-Apr-04 0:52 
AnswerRe: Splitting a string into a substring and into chars? Pin
Jeff Varszegi26-Apr-04 5:15
professionalJeff Varszegi26-Apr-04 5:15 
AnswerRe: Splitting a string into a substring and into chars? Pin
Jon G26-Apr-04 5:30
Jon G26-Apr-04 5:30 
AnswerRe: Splitting a string into a substring and into chars? Pin
Heath Stewart26-Apr-04 5:49
protectorHeath Stewart26-Apr-04 5:49 
GeneralThings are not working as expected Pin
gUrM33T26-Apr-04 5:12
gUrM33T26-Apr-04 5:12 
GeneralRe: Things are not working as expected Pin
Jon G26-Apr-04 5:20
Jon G26-Apr-04 5:20 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 5:29
gUrM33T26-Apr-04 5:29 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 5:24
gUrM33T26-Apr-04 5:24 
GeneralRe: Things are not working as expected Pin
Heath Stewart26-Apr-04 5:53
protectorHeath Stewart26-Apr-04 5:53 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 15:30
gUrM33T26-Apr-04 15:30 
GeneralRe: Things are not working as expected Pin
Heath Stewart27-Apr-04 2:39
protectorHeath Stewart27-Apr-04 2:39 
QuestionSplitting a string into a substring and into chars? Pin
Eolus26-Apr-04 5:03
Eolus26-Apr-04 5:03 
GeneralProblem With tcpclient.GetStream() Pin
Tarakeshwar26-Apr-04 1:15
Tarakeshwar26-Apr-04 1:15 
GeneralRe: Problem With tcpclient.GetStream() Pin
Heath Stewart26-Apr-04 3:24
protectorHeath Stewart26-Apr-04 3:24 
GeneralRe: Problem With tcpclient.GetStream() Pin
Tarakeshwar26-Apr-04 4:08
Tarakeshwar26-Apr-04 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.