[Mono-devel-list] Web Services bug?
grompf
grompf at sublimeintervention.com
Tue Apr 27 00:17:41 EDT 2004
I have a wsdl consumed web method that consumes a web service and casts
the response to an object:
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:
TMSWebServices:xtvdWebService#download",
RequestNamespace="urn:TMSWebServices", ResponseNamespace="")]
public object download(string startTime, string endTime) {
System.Object[] response = this.Invoke("download", new
object[] {
startTime,
endTime});
Console.WriteLine(response.Length);
Console.WriteLine(response[0]);
return (object)response[0];
}
I manually added the Console writes to debug ( FWIW I dont have
mono-debug working at the moment ) and its telling me that
response.Length is 1, and response[0] is null.
(The object in the Microsoft implementation is a System.Xml.XmlNode[]).
When I run this in mono; two things happen:
First, its a fraction the speed of the microsoft implementation to
download the data
Second, the response is null.
The exact same code and method works fine with the Microsoft .NET
framework. Doing pcap dumps I can see that its making the request and
getting the data back to the Invoke method, it just never seems to
return it back into the object[] array.
Ideas?
-grompf
More information about the Mono-devel-list
mailing list