don't know if this is going to sound stupid but why don't you try to
return the string that you built instead of loading it to a XmlDocument
and returning the document?
> Hello all,
>
[quoted text clipped - 41 lines]
> [strOut.WriteLine(objXMLResponseDocument.OuterXml)]
> and the resulting flat file is correct.

Signature
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sam - 30 Jan 2006 14:58 GMT
When I was testing this I tried the return type as string. The return string
type return the following:
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://tempuri.org/SMSGateway/SMSClaim"><?xml version='1.0'
standalone='no'?><!DOCTYPE SMSRESPONSE SYSTEM
'response_generic_v1.dtd'><SMSRESPONSE><REQUESTID>HTTP_T1_ID0_R302</REQUESTID></SMSRESPONSE></string>
Thank you for your response. However, I am still trying to find an answer.
/frown.
Thanks,
Sam
> don't know if this is going to sound stupid but why don't you try to
> return the string that you built instead of loading it to a XmlDocument
[quoted text clipped - 45 lines]
> > [strOut.WriteLine(objXMLResponseDocument.OuterXml)]
> > and the resulting flat file is correct.