473,394 Members | 1,709 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,394 software developers and data experts.

Best way of developing Web Service?

Hi All,

I recently started working on .Net Web Services.

Eventhough i know how to use web services and working with them, i am missing the vital links for the ideal scenario.

Can any one explain me the ideal way of developing the web services.

I found the following things for ideal scenario

************************************************** ************************************************** ******************************

Step 1 :Create a Schema manually or using some tools.

Step 2: Create the Type using xsd.exe

************************************************** ************************************************** ******************************

i am struck after this.

Creating methods like Add a new Employee.

AddEmployee(???? as ????)

1. my question is, what is the ideal way (platform independent) for accepting data from the client so that i can validate against the Schema.

possibilities i know are :

xml document

Employee Object

string (datatype will be string but the data will be in xml format)

dataset

individual fields like empno, name , datateofjoin etc ?

2. what is the ideal way (platform independent) for returning data

possibilities i know are :

xml document

Employee Object

string (datatype will be string but the data will be in xml format)

dataset

3. How does my client know about the Schema (info like datatypes and lengths of indiviaul elements)

4. if Schema Validation fails, how am i going to notify the client about what data is not valid.

5. in what case do i need to serialize the data.

6. Do i have do Serialization and Deserialization myself by creating methods or .NET automatically handles this.

Thanks in Advance

Mahesh
Apr 6 '07 #1
0 969

Sign in to post your reply or Sign up for a free account.

Similar topics

33
by: Frank | last post by:
What is the best IDE for developing PHP applications? What do you use and why? Thanks.
2
by: Hugh McLaughlin | last post by:
Hello Everyone and thanks for your help in advance. I have read a great deal about code reuse and the development of the three-tier application, but am somewhat confused on some issues and am...
5
by: RichG | last post by:
We are building a new developement system specifically for .NET developement. We will bw using VB. and C#. What will be the best OS to install on the new system. What will be the best concidering...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
4
by: Adam Clauss | last post by:
I am currently developing an application which will primarily run as a service that starts with Windows. However, I want to also have an 'administration' tool that can be run that controls various...
10
by: Mike Logan | last post by:
I am using the "contract first" design methodology. Contract First is design the WSDL first then design the server and client. However I must design my XSD/XML Schema before anything. I am...
6
by: Danny Tuppeny | last post by:
Hi all, I'm using Visual C# Express and Visual Web Developer Express. It just occured to me, that there seems to be no way to develop a web service to be consumed in VWD and use it in VC#, since...
3
by: Clive Smith | last post by:
Hi Folks, I am developing an application consisting of a webservice and a Win32 service both written in C#. When the webservice is called it writes a number of records away to a SQL server...
0
by: Nic | last post by:
Hi, I am looking to publish a service and is currently developing an API that I intend to allow authenticated users to use. Having been away for a while from programming, I understand that...
2
by: Cato | last post by:
How can i interact with a windows service written in c#? i'm developing a software that monitor file creation activity, it does work well.. it "logs" all my events and executes custom actions on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.