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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top