473,770 Members | 4,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Advice on Web Service modelling

Hello group

I would like some advice on how to model my webservices.

Our application is made up of a number of independent modules that handle
different parts of the application logic. It is a client-server application,
where the server exposes some web services that the clients can use.

Each module is not completely independent but some of them share some common
logic. The common logic is concerns how to load TimeSeries objects.

There is a common method of loading TimeSeries, and that logic is
implemented in a common web-service. Some of the other modules add to this
common logic by specifying individual filtering options. These extra
filtering options are not share by the other modules.¨

I would like to have several web services:

1) CommonService - knows how to load a TimeSeries in the common way.
2) SpecializedServ ice1 - Adds specific filtering options to CommonService.
3) SpecializedServ ice2 - Adds specific filtering options to CommonService.

All services return the same kind of result: TimeSeries objects.

On my client, I would have a CommonService that all modules could use to
access the TimeSeries in the common way. I could then create specific
services on the client that knows how to use the specialized web services.

My application is implemented in C# (both client and server). I use Visual
Studio 2005 to generate my web references on the client.

I would then generate a web reference for CommonService and another web
reference for SpecializedServ ice1. I can do that without any problems.
However even though they both return the same kind of objects: TimeSeries,
the TimeSeries objects are not the same for the two web references. This is
because Visual Studio generates different objects for each web reference.

Is there a good way to solve the problem with different type of TimeSeries
objects?

Would it be a better solution to just make one web service:
TimeSeriesServi ce that knows how to loading TimeSeries in all possible ways?
This would mean that a client module that only need to load TimeSeries in
the Specialized1 way would also be able to load them in Specialized2 way.

Thank you for your advice.

Regards
Anders
Oct 16 '06 #1
2 1300
"Anders K. Olsen" <ak*****@hotmai l.comwrote in message
news:e0******** ******@TK2MSFTN GP03.phx.gbl...
Hello group

I would like some advice on how to model my webservices.

Our application is made up of a number of independent modules that handle
different parts of the application logic. It is a client-server
application, where the server exposes some web services that the clients
can use.

Each module is not completely independent but some of them share some
common logic. The common logic is concerns how to load TimeSeries objects.

There is a common method of loading TimeSeries, and that logic is
implemented in a common web-service. Some of the other modules add to this
common logic by specifying individual filtering options. These extra
filtering options are not share by the other modules.¨

I would like to have several web services:

1) CommonService - knows how to load a TimeSeries in the common way.
2) SpecializedServ ice1 - Adds specific filtering options to CommonService.
3) SpecializedServ ice2 - Adds specific filtering options to CommonService.

All services return the same kind of result: TimeSeries objects.

On my client, I would have a CommonService that all modules could use to
access the TimeSeries in the common way. I could then create specific
services on the client that knows how to use the specialized web services.

My application is implemented in C# (both client and server). I use Visual
Studio 2005 to generate my web references on the client.

I would then generate a web reference for CommonService and another web
reference for SpecializedServ ice1. I can do that without any problems.
However even though they both return the same kind of objects: TimeSeries,
the TimeSeries objects are not the same for the two web references. This
is because Visual Studio generates different objects for each web
reference.

Is there a good way to solve the problem with different type of TimeSeries
objects?

Would it be a better solution to just make one web service:
TimeSeriesServi ce that knows how to loading TimeSeries in all possible
ways? This would mean that a client module that only need to load
TimeSeries in the Specialized1 way would also be able to load them in
Specialized2 way.
I'd just use one web service with multiple operations, each for the
different way to load a TimeSeries.

John
Oct 16 '06 #2
"John Saunders" <john.saunder s at trizetto.comwro te in message
news:uP******** ******@TK2MSFTN GP03.phx.gbl...
"Anders K. Olsen" <ak*****@hotmai l.comwrote in message
news:e0******** ******@TK2MSFTN GP03.phx.gbl...
Would it be a better solution to just make one web service:
>TimeSeriesServ ice that knows how to loading TimeSeries in all possible
ways? This would mean that a client module that only need to load
TimeSeries in the Specialized1 way would also be able to load them in
Specialized2 way.

I'd just use one web service with multiple operations, each for the
different way to load a TimeSeries.
Hello John

Thanks for your advice. I think your are right, that is probably the best
way to do it.

Regards
Anders
Oct 17 '06 #3

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

Similar topics

1
2064
by: geoff | last post by:
Has anyone used process modelling successfully and what do you think of it? Process modelling as opposed to say, collaborating objects to get a task done (I know the process model itself could be a set of collaborating objects). I found this product at: http://www.vitria.com/library/brochures/vitria_businessware_brochure.pdf I am posting this to the java group also because this product generates java
2
3461
by: Tim Mackey | last post by:
hi folks, i'm puzzled over this one, anyone with some solid db experience might be able to enlighten me here. i'm modelling a file system in a database as follows, and i can't figure out to cleanly implement an inheritance mechanism. i have a hierarchy of folders in an sql table. every folder has a parentFolderID, if this value is 0 then it means it's a root folder.
0
1048
by: zeroSpaMISBaDtype | last post by:
Hi, A friend of mine at Newcastle University is looking to get in touch with someone doing numerical modelling in C++ (preferably, but not essentially, using DEAL 2. To be honest, I think he'd welcome an email from someone doing numerical modelling even without C++). If anyone is, could they contact him at s.r.ASpaMStoppinGThinGpilditch@ncl.ac.uk ? He's using GNU C++ under Cygwin with DEAL 2, and the modelling he's
0
1125
by: yasaswi | last post by:
What are the two best database modelling solutions for MySQL database? I use AllFusion Erwin Data Modeller, but this tool from Computer Associates does not have MySQL option in it. Thereby I have to generate the script first and then make manual modifications. I saw in this newsgroup some old postings about tools like MogWai ERDesigner, XTG Case Tool, etc. Please recommend some best of the breed MySQL specific data modelling tools, which...
8
1524
by: george.leithead | last post by:
Hi all, I'm looking for some advice on how best to achitect the following requirement. I'm basically writing a Fantasy Football (FF) Web site, and would like to have it fully OO and have it using as much inheritance, base classes, common methods, etc as possible. My biggest headache that I cant get my head around is how to handle
9
1429
by: Duncan Smith | last post by:
Hello, I find myself in the, for me, unusual (and at the moment unique) position of having to write a web application. I have quite a lot of existing Python code that will form part of the business logic. This relies on 3rd party libraries (such as numpy) which would make porting to e.g. IronPython difficult (I would imagine). I was thinking LAMP (the P standing for Python, of course), particularly as I was originally encouraged to go...
7
1770
by: Joseph Geretz | last post by:
I have a Service which runs OK, but I'm abviously not starting it properly. In my OnStart event I commence a long running process which polls a database table and performs various processing. Since this polling loop is entered synchronously from OnStart, basically the OnStart event doesn't terminate for the life of the program. This doesn't give the SCM the correct feedback that the service has started properly. Consequently, the SCM throws...
1
2148
by: Ko Ko | last post by:
Dear All, I am quite new for web application and now trying to develop my own web sites which will contain Silverlight, WPF, AJAX, ASP.NET and Web Service features. My application is to upload images to URL then give the results and interactive modelling showing them using the above methods. So pls advise me by someone could it be possible to use and whether reliable or not? Thanks and best regards
0
9602
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9439
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.