rico6xrico 0 Newbie Poster

Hello All,

I'm trying to understand the whole concept of Webservices ans ASP.NET. I've created following documents, using "VB" Script.

MathServiceClient.aspx
MathService.asmx
MathService.wsdl
MathService.vb

On my MathServiceClient.aspx file I have the following include,
{code} <%@ Import Namespace="MathService" %> {/code}

*I think this forum required {code}{/code} when posting code.

Well, when I call MathServicesClient.aspx, I get the following error.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'MathServiceVB.MathService' is not defined.

Source Error:

Line 19: End Try
Line 20:
Line 21: Dim Service As MathServiceVB.MathService = New MathServiceVB.MathService()
Line 22:
Line 23: Select (CType(sender,Control).ID)


Source File: C:\Inetpub\wwwroot\webservices\math\MathServiceClient.aspx Line: 21


I believe the "MathServiceClient.aspx" has NOT imported the Namespace "MathService, for some reason it doesn't create object from library.

I've also done various examples off the web and I continue to have the same issue, what could be the problem? Please help.

Thanks,

Ricardo