pass xml file to web service from a Windows service
I have been trying for the past couple of hours to figure out how to send an xml file as a parameter to a web service, but everything I try results in the xml file being escaped when it is stored in the database. My web service is expecting a sqlxml datatype which works fine if I am not using a Windows service to consume the web service. The Windows service tells me:
The type System.Data.SqlTypes.SqlXml may not be used in this context. To use System.Data.SqlTypes.SqlXml as a parameter, return type, or member of a class or struct, the parameter, return type, or member must be declared as type System.Data.SqlTypes.SqlXml (it cannot be object).
Intelisense lists the parameter that is expecting SqlXml as an Object.
Dim testAsNew XmlTextReader("C:\Inetpub\wwwroot\WebService\Results1.xml")Dim SqlXmlValueAs SqlXml =New SqlXml(test)Please help.

