Groups | Blog | Home
all groups > dotnet web services enhancements > november 2006 >

dotnet web services enhancements : System.Xml.XmlException: Root element is missing



Colin Blakey
11/7/2006 11:22:01 AM
Help!

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()'

Colin Blakey
11/8/2006 9:36:02 AM
Pablo,

Alas, nothing is logged in either the event logs or SOAP trace.


[quoted text, click to view]
Pablo Cibraro [MVP]
11/8/2006 9:40:30 AM
Hi,

Is WSE logging any additional information in the eventlog ?.

Regards,
Pablo.


[quoted text, click to view]

AddThis Social Bookmark Button