We help IT Professionals succeed at work.
Get Started

Web Services (C#)...Need Help!!

udir
udir asked
on
251 Views
Last Modified: 2007-10-18
Hi experts,
I'm new at ASP.NET so pleeeeease answare step by step if it is possible.

I created a new project (ASP.NET Web Service called "Calc" (the library located
at    c:\inetpub\wwwroot\Calc\Calc1.asmx

the code is simple (becuase i just want to understand how to deal with Web Service)
----------------------------------------------------------------------------
<%@ WebService Language="C#" Class="Calc1" %>

using System.Web.Services;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

public class Calc1 : System.Web.Services.WebService
{

    [WebMethod]
    public int Add(int x, int y)
    {
        return x + y;
    }
}
------------------------------------------------------------------------------

lets say that there is another project  - ASP.NET Web Site called - "Result" which is located
at : c:\inetpub\wwwroot\Result\Result1.aspx

i know that i need to make a proxy call and a disco file and etcw....which i don't know how.
i'm so comfused (:

Please help me (with the example i just wrote - but again - step by step)

Thanks
Udir






Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE