Hi all,
I am getting following error while a user is trying to execute web method
from proxy class (proxy class inhertis from WebServicesClie ntProtocol class)
System.Xml.XmlE xception: There is an unclosed literal string. Line 1,
position 129.
at System.Xml.XmlS canner.ScanLite ral()
at System.Xml.XmlT extReader.SetLi teralValues(Xml AttributeTokenI nfo fld)
at System.Xml.XmlT extReader.SetAt tributeValues()
at System.Xml.XmlT extReader.Parse Element()
at System.Xml.XmlT extReader.Read( )
at Microsoft.Web.S ervices2.Xml.Xm lSkipDTDReader. Read()
at System.Xml.XmlL oader.LoadDocSe quence(XmlDocum ent parentDoc)
at System.Xml.XmlL oader.Load(XmlD ocument doc, XmlReader reader, Boolean
preserveWhitesp ace)
at System.Xml.XmlD ocument.Load(Xm lReader reader)
at Microsoft.Web.S ervices2.SoapEn velope.Load(Str eam stream)
at Microsoft.Web.S ervices2.Output Stream.Close()
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at XXX.YYY.ZZZ.Web Service.HelloWo rld(HelloWorldR equest helloWorldReque st)
This happens only on one of the users machine and I cannot use VisualStudio
to debug it :(. I am able to save to a file parameters of that web method
and they looks fine. Further more I have create a soap extension that
(SoapLogger : SoapExtension) that should help me with logging what I am
sending and recieving. For that purpose I have overridden ProcessMessage
function where I am serializing message stream to a file. That code works
fine on my machine but on user fails :(. I am still getting same error as
above.
Does anybody knows what I should do to be able to log some debug inforation
that will help me to find solution for above error?
Best regards
Marek S