try mcs -r:System.Web.Services.dll Calculator.cs
On Tue, 2005-09-27 at 12:48 +0200, Massimiliano Sasso wrote:
Hi all,
I know this is a basic question but I'm quite new with mono.
This is the matter:
I have a very simple web service that I want to access with a client running under mono, so I used the wsdl tool to generate my .cs code to access the web service:
> wsdl Calculator.wsdl
So far so good.
Once a try to compile my new generated code with the mcs compiler I get the following error message:
> mcs Calculator.cs
Calculator.cs(22,27): error CS0234: The type or namespace name `Services' does not exist in the namespace `System.Web'. Are you missing an assembly reference?
error CS0234: No such name or typespace System.Web.Services
error CS0234: No such name or typespace System.Web.Services.Protocols
Compilation failed: 3 error(s), 0 warnings
The same happens with the example wsdl you can find at http://www.mono-project.com/Web_Services
> wsdl GoogleSearch.wsdl
Mono Web Services Description Language Utility
Writing file 'GoogleSearchService.cs'
> mcs /target:library GoogleSearchService.cs
GoogleSearchService.cs(20,36): error CS0234: The type or namespace name `Services' does not exist in the namespace `System.Web'. Are you missing an assembly reference?
error CS0234: No such name or typespace System.Web.Services
error CS0234: No such name or typespace System.Web.Services.Protocols
Compilation failed: 3 error(s), 0 warnings
The release I installed is the latest available in the download area (1.1.9) and I both compiled it on a system and installed from rpm(s) on another system, but the result is always the same.
What am I missing?
Thanks
Massi
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
Adrian Dinu
Technical Manager
Dream Team Software
|
|
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list