I've seen many postings/solutions on this, but none have worked for me.
I have a Java method which returns an custom array type that I published
using Apache Axis 1.3. With a Java client, it is fine. But a C# 2005 client
errors out. I was hoping someone can try it and let me know what is wrong
(or what is wrong with the WSDL)? The WSDL's are:
http://weblogs.trax.aero/WebModuleTr...r_Service?wsdl
The queryRecords function - It returns an array type.
or
http://weblogs.trax.aero/WebModuleTr...t_Service?wsdl
Also the queryRecords function... It returns a class which contains inside
an array type.
I've gotten other functions that return classes to work fine... it is only
when it returns an array of them that it fails, and it only fails on a .net
client.
This is the error:
System.InvalidOperationException was unhandled
Message="There is an error in XML document (1, 365007)."
Source="System.Xml"
StackTrace:
at System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader
xmlReader, String encodingStyle)
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
WindowsApplication1.aero.trax.weblogs2.AC_In_Out_S ervice_Master_ServiceService.queryRecords
-
Replace nospam with gmail for e-mail.