Advertisement

07.21.2008 at 07:42AM PDT, ID: 23581980
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

WebServices Web methods with Custom datatypes

Asked by chinawal in Software/Systems Design, Microsoft Visual C#.Net, Web Services and WCF

Tags: , , , , , ,

We have a small-medium sized application that includes business and data layer (Platform:.Net 2.0 framework, C#, SQL Server 2005)

Requirement: I need to design a small (and brand new) web services application that would expose various methods (almost 50 to 60 methods of above mentioned existing application) to inhouse external systems. The inhouse external systems would be also be using same .Net framework etc.
I would be using a Custom datatypes e.g. CustomerInfo, CustomerInfoList etc. to return data from Web Services (web methods) to those external system.

(Almost 90% of the methods just read data. 10% of the methods manipulate the data)

Questions:
1) Custom datatypes returning from Webmethods: How exactly should I code this? Class or Struct or some other thing?
If I code each datatype as an individual Class, webmethods would return these datatypes to external systems. What would be the best way the external systems could understand these data types? (Note: External systems have yet to be coded too)

2) Does it make sense to use some kind of "Interfaces" and its implemented classes as DataTypes?  (Sorry. I haven't used OOP much in past.)

3) Any design tips that would help us in future would be greatly appreciated.

Thanks in Advance.Start Free Trial
[+][-]07.23.2008 at 02:31AM PDT, ID: 22067372

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Software/Systems Design, Microsoft Visual C#.Net, Web Services and WCF
Tags: microsoft, .Net, 2.0, C# Web Services Web methods Custom datatypes, C#, C# Web Services Web methods Custom datatypes, C# Web Services Web methods Custom datatypes Design
Sign Up Now!
Solution Provided By: MonkeyPushButton
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628