writing an xml document to output stream (soap)

T

Tom

I am getting an error on writing an xml document out to the output
stream (soapOutputStream). The xml doc is perfectly formed, but when I
use the code below I get an error on the client side saying 'error at
position 4097' and my xml document appears truncated at that position
to the consumer of my soap web method. Any ideas?

Here is the code that bombs

Code:
xmlDoc3.WriteTo(New
XmlTextWriter(HttpContext.Current.Items("SoapOutputStream"),
System.Text.Encoding.UTF8))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top