Here's the web service code: I am just trying to accept the xmldocument parameter and save it to a file, then I can load and process.
Expand|Select|Wrap|Line Numbers
- <WebMethod()> _
- Public Function InsertPatientInfo(ByVal Password As String, ByVal f As XmlDocument) As Integer
- Try
- Dim strTemp As String = System.Web.Hosting.HostingEnvironment.MapPath("~/Schedules/") & "FileX.XML"
- Dim ms As New MemoryStream(f.OuterXml)
- Dim fs As New FileStream(strTemp, FileMode.Create)
- ms.WriteTo(fs)
- ms.Close()
- fs.Close()
- fs.Dispose()
- f.Save(strTemp)
- strMessage = ProcessXML(strTemp)
- ' Blah blah blah
Thanks,
Paul