[Mono-devel-list] Web Services bug?

Lluis Sanchez lluis at ximian.com
Tue Apr 27 04:04:33 EDT 2004


Hi,

To track down the problem it would be very helpful if you can open a bug
in bugzilla.ximian.com and provide a url we can use to test the service
(my guess is that it is not running on ASP.NET), or the WSDL document if
this is not possible. 

Thanks,
Lluis.

On dt, 2004-04-27 at 06:17, grompf wrote:
> 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
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list