How generate a web reference?

D

Dorian

I am totally new to .Net and have been given a huge web application to
develop with a tight deadline.
I have 2 books on C#, each over 1000 pages.
I am trying to create a web reference. I understand this is needed to be
ablwe to use my web services (we use web services for all functionality).
I right click on the project, select 'add web reference' then 'web services
in this solution', I then select the only web service listed. I then get an
error the possibility of which is not mentioned in any of my books. I have no
idea what the error means or how to get past it. It says: Server error in '\'
application. Then:
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not create type 'WebService.Service1'.

Source Error:

Line 1: <%@ WebService Language="C#" CodeBehind="AstatWs.asmx.cs"
Class="WebService.Service1" %>

Source File: /AstatWs.asmx Line: 1

I have no idea what WebService.Service1' is or where it gets it from. Help!

-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
M

Mr. Arnold

Dorian said:
I am totally new to .Net and have been given a huge web application to
develop with a tight deadline.
I have 2 books on C#, each over 1000 pages.
I am trying to create a web reference. I understand this is needed to be
ablwe to use my web services (we use web services for all functionality).

Gee man, how did you get yourself roped into this? You you're new to .NET,
new to C#, new to Service Oriented Architecture, and a tight deadline. I
wouldn't wish this on my worst enemy.

You need to start at square one and figure out what infrastructure,
architecture, design and tools needed to be successful and pull this off.
Other than that, I see failure here for you, or at best, the solution will
not be what you had desired it to be and your user base not happy.

Web services are just one of the elements needed here. What about the other
elements that are needed on the table and information you need to know as a
..NET architect to pull it off?

What version of VS.NET are you using and the version of the .NET Framework
that's going to be used?

Seriously man, you need to stop dead in your tracks and figure out where
square one is and move forward from there in rapid paced, forced march and
on the fly learning curve.

That's were you need help and not Web services at this time.








__________ Information from ESET NOD32 Antivirus, version of virus signature database 4553 (20091028) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top