[Mono-list] Webservices and return data types

Bálint Kardos kardosbalint at gmail.com
Tue Jan 15 20:21:04 EST 2008


Hi, I like click'n'build stuff, but the MySqlConnector does stupid things:

C:\z>mcs WebShop.asmx.cs -lib:c:\z\bin -r:System.Web -r:System.Web.Services -r:S
ystem.Data -r:MySql.Data -r:MySql.Data.MySqlClient -t:library -out:WebShop.dll

error CS0006: cannot find metadata file `MySql.Data.MySqlClient'
Compilation failed: 1 error(s), 0 warnings

however I added it to the gac as well (gacutil -i).. does anyone has any clue?:)


On 16/01/2008, Oleg Deribas <thisaddressisnotmine at td.selfip.net> wrote:
> Bálint Kardos wrote:
>
> > The only problem was when I've tried to
> > connect to this web service from Visual Studio, it said when i've
> > tried to add a web reference:
> >
> > The document at the url http://xxxxxxxxx.hu/WebShop.asmx was not
> > recognized as a known document type.
>
> > However by explicitly calling the Url http://xxxxxxxx.hu/WebShop.asmx?disco
> > Visual Studio finally was able to use all functions from the service.
>
> Very clever! I will try that too. Thank you!
>
> > I saw that I mcs is still unable to build this web service on the
> > linux, but who cares, we can build it with the ms frameworks build
> > tools (without VS) :D
>
> Why can't you build web service with mcs? I'm compiling my web service
> on linux. I just had to create nant build file.
>
> --
> Oleg
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


--

üdvözlettel
with regards

Kardos Bálint


More information about the Mono-list mailing list