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

Web Service Issue

The Application that my company built runs off of Web Services. The problem
that we are having is that there are three programmers developing on these
Web Services at the same time. When ever one person creates or edits a web
service, it seems like the other web services don't get updated. In order to
get the Web Service to work, I would need to change something, rebuild, and
then update my web referance in our app. We have to do this everytime
someone updates a web referance and it's tought to get anything done when we
are updating our web referances. Any help will be much appreciated.

Thanks,
--
Newbie
Nov 23 '05 #1
4 1138
Hello Band,

If I am understanging you correctly, you are not designing your services
first. You are just coding and hoping that they work.

Step one is to define what business function each service is supposed to
perform.
Step two is to define what message that function needs. Both request and
response.
Step three is to create the shell that has those messages.

At that point you can update the web reference and the interface should not
change.

You can then do the underlying coding and test the functionality. With out
changing the messages!

Sorry, for getting on my soapbox, pun intended.
The Application that my company built runs off of Web Services. The
problem that we are having is that there are three programmers
developing on these Web Services at the same time. When ever one
person creates or edits a web service, it seems like the other web
services don't get updated. In order to get the Web Service to work,
I would need to change something, rebuild, and then update my web
referance in our app. We have to do this everytime someone updates a
web referance and it's tought to get anything done when we are
updating our web referances. Any help will be much appreciated.

Thanks,


Nov 23 '05 #2
I'm sorry, I stated my question poorly. I'll try to explain a little better.

Say that there are 2 developers that are developing Web Services from within
the same project (which links to a web site hosted on our development server).

Programmer 1 makes a change to an existing Web method and builds the project.
Meanwhile, Programmer 2 also has the same project open and he makes a change
to a different Web Service in the same project. He then, builds the project,
but at that point his cache doesn't have the latest code for Programmer 1 and
so it overwrites the file with the one from his (Programmer 2's) cache.

At this point, Programmer 1 has lost any changes (on the server, not locally
in his cache) to what he had just changed.

We believe this is a Cache issue. We just don't know where to take care of
this. What's the best way to take care of this?

Is there any way around this issue?

"Michael Barnhart" wrote:
Hello Band,

If I am understanging you correctly, you are not designing your services
first. You are just coding and hoping that they work.

Step one is to define what business function each service is supposed to
perform.
Step two is to define what message that function needs. Both request and
response.
Step three is to create the shell that has those messages.

At that point you can update the web reference and the interface should not
change.

You can then do the underlying coding and test the functionality. With out
changing the messages!

Sorry, for getting on my soapbox, pun intended.
The Application that my company built runs off of Web Services. The
problem that we are having is that there are three programmers
developing on these Web Services at the same time. When ever one
person creates or edits a web service, it seems like the other web
services don't get updated. In order to get the Web Service to work,
I would need to change something, rebuild, and then update my web
referance in our app. We have to do this everytime someone updates a
web referance and it's tought to get anything done when we are
updating our web referances. Any help will be much appreciated.

Thanks,


Nov 23 '05 #3
>>You can then do the underlying coding and test the functionality. With out
changing the messages!

As Michael points out, the goal is to create your services in such a way
that you don't have to change the message interface.

In addition to what Michael suggests, I am finding it much easier to
maintain web services by over-simplifying the service interface itself.
Instead of having several well defined/designed web interfaces, try to
simplify the web interface to be as general as possible and move your well
defined functions/interfaces into helper classes (I think Michael is
advocating this helper class approach also). In other words, just think of
your web service interface as being a conduit to your helper classes. You
can turn 10 web method calls into just 1 general method call and handle the
logic in the helper classes. Just pass in all of the request information
via *one* XML parameter and return responses via XML. An element inside the
request XML can define the *real* function that you want to perform...your
helper classes can parse this out. This approach allows you to expand web
service functionality without changing the reference interface.



"Band of Multi" <Ba*********@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com... The Application that my company built runs off of Web Services. The
problem
that we are having is that there are three programmers developing on these
Web Services at the same time. When ever one person creates or edits a
web
service, it seems like the other web services don't get updated. In order
to
get the Web Service to work, I would need to change something, rebuild,
and
then update my web referance in our app. We have to do this everytime
someone updates a web referance and it's tought to get anything done when
we
are updating our web referances. Any help will be much appreciated.

Thanks,
--
Newbie

Nov 23 '05 #4
Hello Band,

Understood, Sorry I assumed something I see locally all of the time.

Hope you get a better answer than I have. All I know of is to make one person
the authority, and have the other(s) copy out code and then send back to
the authority the updated functions. Who then copies this back into the master.

Given what is in Office 2003 for multiple people working on one document,
I can expect to see this in the future but do not know what supports it today.
Like I said, hope someone corrects this if it is wrong.

Have a good day.
I'm sorry, I stated my question poorly. I'll try to explain a little
better.


Nov 23 '05 #5

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

Similar topics

3
by: todd_groten | last post by:
Alright, I've been searching around for some time and have not been able to find anything concrete on fixing an issue I am having. Here's the situation: 1) I have a non-anonymous webservice...
5
by: Stu Carter | last post by:
Hi, ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1 We've got an ASP.Net web application using State Service. All is fine until we tried to use the app through a virtual...
3
by: Paul Michaud | last post by:
Consider the following: Class A { .... } Class B:A { ....
1
by: jehugaleahsa | last post by:
Hello: I wrote an .exe that I would like to be called by a service I am deploying to a server. However, I am not sure how to tell the setup project to include the .exe. Also, I do not know...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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,...

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.