Have you tried just "mcs {...} /r:System.Web.Services"? I believe "SoapHttpClientProtocol", if it exists anywhere in the System.Web.Services assembly (System.Web.Services.dll). It should be in the GAC so you don't have to put a path to it.
For future reference when the compiler complains about this it is because it can't find reference. In .Net you don't "link shared objects" you "reference assemblies". Once you tell the compiler what assembly reference is in, I'm sure it will happily compile.
Tom Larsen
On Thu, 9 Sep 2004, John Sanabria wrote:
Greetings,
i'm newbie in c#, so newbie in mono. I'm trying to work with web services, specifically, with Google Web Service. I generated, with wsdl, the file GoogleSearchService.cs, and i want to generated the .dll, from it. i found when compile the next error:
[EMAIL PROTECTED] googleapi]$ mcs /t:library -L /usr/local/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/ /lib:System.Web.Services.dll GoogleSearchService.cs GoogleSearchService.cs(20) error CS0246: Cannot find type `System.Web.Services.Protocols.SoapHttpClientProtocol' Compilation failed: 1 error(s), 0 warnings
ok, i think that was necessary to put the flag -L and /lib:..., but you see the message that appear.
In the documentation, from mono web page, i read that System.Web.Services.Protocols, and particular, SoapHttpClientProtocol to be added.
I have the next question: Will you add the documentation about class? or the class will be added in a future time?
So, the class doesn't exist, where can i found information about to work with web services with mono?
thanks a lot, best regards. _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
