I have a system service written in C# .NET 2.0 using WSE 2.0 SP3. I'm
getting this error when the service is attempting to login to the IRS. This
code works without problems when run as a standlone app, it only fails when
run as a service. I've tried running this code under differnet account
privileges but to no avail.
The execution stakc is as follows
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream)
at Microsoft.Web.Services2.OutputStream.Close()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at Vertex.EFile.IRS.FMS.Login.CallLogin(LoginRequestType LoginRequest)
at Vertex.EFile.IRS.Transmission.Login()'
Any ideas?
Is WSE logging any additional information in the eventlog ?.
Regards,
Pablo.
"Colin Blakey" <Colin Bla...@discussions.microsoft.com> wrote in message
news:B10A80BE-0E23-49F7...@microsoft.com...
Alas, nothing is logged in either the event logs or SOAP trace.
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/