G
Guest
I have a business object which I am sending through a webservice in order to
update details on the data layer. When I get to the web service layer,
though, the following exception occurs:
XmlException: This is an unexpected token. The expected token is 'NAME'.
Line 1028, position 159.]
System.Xml.XmlTextReader.SetAttributeValues() +323
System.Xml.XmlTextReader.ParseElement() +138
System.Xml.XmlTextReader.Read() +94
Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read()
System.Xml.XmlLoader.LoadCurrentNode() +612
System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +49
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) +102
System.Xml.XmlDocument.Load(XmlReader reader) +72
Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream)
Microsoft.Web.Services2.OutputStream.Close()
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +162
//My internal calls go here
Prior to this error, I was getting another exception:
an unexpected end of file parsing name has occurred
The file I am passing across is 119KB in size (I don't know if this is
significant).
Can anyone shed any light on these errors?
update details on the data layer. When I get to the web service layer,
though, the following exception occurs:
XmlException: This is an unexpected token. The expected token is 'NAME'.
Line 1028, position 159.]
System.Xml.XmlTextReader.SetAttributeValues() +323
System.Xml.XmlTextReader.ParseElement() +138
System.Xml.XmlTextReader.Read() +94
Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read()
System.Xml.XmlLoader.LoadCurrentNode() +612
System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +49
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) +102
System.Xml.XmlDocument.Load(XmlReader reader) +72
Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream)
Microsoft.Web.Services2.OutputStream.Close()
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +162
//My internal calls go here
Prior to this error, I was getting another exception:
an unexpected end of file parsing name has occurred
The file I am passing across is 119KB in size (I don't know if this is
significant).
Can anyone shed any light on these errors?