[Mono-list] Playing with WSDL

Neale.Ferguson@SoftwareAG-USA.com Neale.Ferguson@SoftwareAG-USA.com
Fri, 8 Oct 2004 13:43:21 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4AD5E.4DB6C8CC
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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.=20

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=20

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> =
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=20
Compilation succeeded

Neale

------_=_NextPart_001_01C4AD5E.4DB6C8CC
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D029104017-08102004><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D029104017-08102004><FONT face=3DArial =
size=3D2>&nbsp;I'm playing=20
with TestService.asmx and have used wsdl to build the .cs file and have =
complied=20
it into a library. What I want to know is where do I put the resulting =
DLL so=20
that the server can use it and stop reporting:</FONT></SPAN><SPAN=20
class=3D029104017-08102004></DIV>
<DIV>
<H2><FONT color=3Dmaroon><I>Compilation =
Error</I></FONT></H2><B>Description:=20
</B>Error compiling a resource required to service this request. Review =
your=20
source file and modify it to fix this error.=20
<P><B>Error message: </B>/tmp/66493.0.cs(26,0) : error CS0246: The =
namespace=20
`TestService' can not be found (missing assembly reference?) (0,0) : =
error=20
failed: 1 error(s), 0 warnings </P>
<P><B>File name: =
</B>/srv/www/htdocs/demo/TestService.aspx</P></SPAN></DIV>
<P><SPAN class=3D029104017-08102004><FONT face=3DArial size=3D2>Here's =
how I built=20
things:</FONT></SPAN></P>
<DIV><FONT size=3D2><SPAN class=3D029104017-08102004><FONT =
size=3D2><FONT=20
face=3D"Courier New">[usanefe@resc011 - usanefe] wsdl /l:CS =
/n:TestService=20
/out:TestService.cs </FONT><A=20
href=3D"http://localhost/demo/TestService.asmx?WSDL"><FONT=20
face=3D"Courier =
New">http://localhost/demo/TestService.asmx?WSDL</FONT></A><BR><FONT=20
face=3D"Courier New">Mono Web Services Description Language =
Utility<BR>Writing=20
file 'TestService.cs'<BR>[usanefe@resc011 - usanefe] mcs /t:library=20
/r:System.Web.Services.dll /r:System.Xml.dll TestService.cs =
<BR>Compilation=20
succeeded<BR></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D029104017-08102004><FONT=20
face=3DArial =
size=3D2>Neale</DIV></FONT></SPAN></FONT></FONT></BODY></HTML>

------_=_NextPart_001_01C4AD5E.4DB6C8CC--