[Mono-list] Playing with WSDL

Lluis Sanchez lluis@ximian.com
Sat, 09 Oct 2004 00:39:57 +0200


I don't know what are you trying to do, but the wsdl tool generates a
client proxy, to be used by a client to call methods of the web service.

You can of course use the proxy on a server, for example if you need to
call a web service from another web service. In this case just put the
proxy dll in the ./bin subdirectory of the web root.

Lluis.

On dv, 2004-10-08 at 13:43 -0400, Neale.Ferguson@SoftwareAG-USA.com
wrote:
> Hi,
>  I'm playing with TestService.asmx and have used wsdl to build the .cs
> file and have complied it into a library. What I want to know is where
> do I put the resulting DLL so that the server can use it and stop
> reporting:
> Compilation Error
> Description: Error compiling a resource required to service this
> request. Review your source file and modify it to fix this error. 
> 
> Error message: /tmp/66493.0.cs(26,0) : error CS0246: The namespace
> `TestService' can not be found (missing assembly reference?) (0,0) :
> error failed: 1 error(s), 0 warnings 
> 
> File name: /srv/www/htdocs/demo/TestService.aspx
> 
> 
> Here's how I built things:
> 
> [usanefe@resc011 - usanefe]
> wsdl /l:CS /n:TestService /out:TestService.cs
> http://localhost/demo/TestService.asmx?WSDL
> Mono Web Services Description Language Utility
> Writing file 'TestService.cs'
> [usanefe@resc011 - usanefe]
> mcs /t:library /r:System.Web.Services.dll /r:System.Xml.dll
> TestService.cs 
> Compilation succeeded
> 
> Neale