473,240 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,240 software developers and data experts.

C# Web Services help required

I need to create a web service with c# and asp.net

Im a little confused exactly how i should code this, whether i should
use a class file or if that would be unneccesary.

Its a web service that will calculate shipping costs for various states.
the 2 input parameters are state and weight (weight of the parcel).
I then need to return the shipping cost for the particular state in $.
Different states have different shipping costs, eg NSW and ACT is $12/kg
and theres 2 other rates for other states.

How would I go about firstly coding the web service, then the C# code in
the asp.net application?
The application will have a drop down list or radio buttons of various
states, which the user will pick one of. They will then enter the weight
into a textbox, click submit, and the weight should be calculated
corresponding to the state they entered.

I think this should be quite simple, however my C# skills aren't the
best, so I really do need some help.

Thanks in advance.
Jul 21 '05 #1
0 954

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: rbt | last post by:
How does one associate a "Description" with a Windows service written in Python? I've just started experimenting with Python services. Here's my code... copied straight from Mr. Hammond's "Python...
by: M B HONG 20 | last post by:
Hi all- I am new to web services, so please bear with me. I have to have a web service (Coded in Visual C#), and I need to have it work with Netscape 7.0 (Mozilla 1.0 I believe). I have it...
by: Joe | last post by:
Dear Friends, How to run the C# Console application as services? I have a console application.I want run this application as background services.User don't want see the command propmt. If anyone...
by: Chris | last post by:
I was told by someone that all web services must be registered with UDDI before they will function. I created a web service on my local server and it works fine so I don't see any reason why UDDI...
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
by: Amrit Kohli | last post by:
I am trying to get through the XML Web Services Walkthrough at this location: ...
by: Val3 | last post by:
Hi all. I need to build dll(s) and windows services using VB .NET 2005 Express. When I make File/New project the windows contain only Windows application, Windows control library, Console...
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
by: ken | last post by:
We have a user that has reported the following error when starting up our client application that uses a web service on our back end: System.Configuration.ConfigurationException: Missing required...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.