[Mono-list] Web Services Problem...

Ko Ko kkl_sg at yahoo.com
Fri Sep 30 03:42:13 EDT 2005


Hi,
 
Thanks Joe for helping me with Web Service and Database problem. I get to realize that after making changes on the Web Services on the Apache, you need to restart Apache to get the new changes affective. I learn someting new. =)
 
Now is some other problem. Ok. I run the Web Service with some simple database connection on Linux using ByteFx. Everything is working fine. And I also can invoke my Web Method on Web Service itself. Now the problem is, I wanted to consume my webservice which is hosted on Linux from my Windows XP computer.
 
I add web reference. 
 
I make use of web method. 
 
And it tells me 
 
c:\inetpub\wwwroot\wa\Login.aspx.cs(62): Cannot implicitly convert type 'System.Xml.XmlElement' to 'System.Data.DataSet'

It cannot convert the type. in fact the method I invoke from my linux server is already return in Dataset because I declare as
 
public Dataset method()
{
                  //Do some data manipulation
                  return Dataset;
}
 
And this web service works fine on Windows when I test both Web Service and Web Application on the same computer. Now when I test with Web Service deploy on Linux it gives me this error message. I wonder what would be the problem?
 
Regards,
Ko Ko



Reality starts with Dream 

		
---------------------------------
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20050930/12311dfe/attachment.html


More information about the Mono-list mailing list