Josh
Stacktrace:
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at solaz.localSol.sdcAsk.sdcAsk(String& Method, String& Parameter,
String& Provider, String& Payload, String& Response) in
C:\visualstudioprojects\solaz\Web References\localSol\Reference.vb:line 43
at solaz.Form1.GetAZ() in C:\visualstudioprojects\solaz\Form1.vb:line 105,
ExceptionType:
System.InvalidOperationException
GetBaseException:
System.FormatException: The string was not recognized as a valid Boolean
value.
at System.Xml.XmlConvert.ToBoolean(String s)
at
System.Xml.Serialization.XmlSerializationReader.ReadTypedPrimitive(XmlQualifiedName type, Boolean elementCanBeType)
at
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String
name, String ns, Boolean elementCanBeType, String& fixupReference)
at
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String
name, String ns, String& fixupReference)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read3_sdcAskResponse()
regards
Simon
> Can you post the full exception details? StackTrace, ExceptionType etc?
>
> Josh
> http://www.thejoyofcode.com/
Josh Twist - 18 Jan 2006 14:56 GMT
It doesn't like the value inside your boolean node (should be either
'true' or 'false').
Have you seen what the XML is that's actually travelling across the
wire? If not, maybe try using the Web Service Studio
(http://www.gotdotnet.com/team/tools/web_svc/default.aspx) to have a
look? The Request/Response tab should show you what the XML is that's
being returned from the service.
Josh
http://www.thejoyofcode.com/