473,763 Members | 3,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem Naming my webservices

Hi!
I have problem naming my webservices. One of the problem is that I got
naming conventions between my webservices and dataset that the
services uses.

Can someone please give me a good example of how to name a
webservice-class which handles articles for example?
And what is a good name for the "correspond ing" dataset/s used? By now
the name of the dataset is just Article.
What is a good name for the webreference?

The rest of the project in the solution are named like for example:
CORES.Win.Artic le. Where CORES is the name of the overall system. Win
tells us that it is a class handling windows, ie. userinterface-class.

Hope someone can help me out.

Best Regards
/ Steve
Nov 21 '05 #1
3 1620
Thanks a lot!
I see one litle problem with your approach. That is
when naming the reference and the service with the same name you got
this a bit odd code when creating an object of the service.

Dim myService as ArticleServices .ArticleService s

also the same "name" twice. Was this what yoy mean?

/ Steve

"Rama.NET" <Ra*****@discus sions.microsoft .com> wrote in message news:<63******* *************** ************@mi crosoft.com>...
Hi Prozon,
Since you named your dataset as 'Article', you could name your webservices
as 'ArticleService s'. You could name your corresponding dataset as
'ServicedArticl e'. Normally I prefer the references to be named in sync with
webservices name (that is just my team's practice), so you could give the
reference name as ArticleServices .
HTH

"Prozon" wrote:
Hi!
I have problem naming my webservices. One of the problem is that I got
naming conventions between my webservices and dataset that the
services uses.

Can someone please give me a good example of how to name a
webservice-class which handles articles for example?
And what is a good name for the "correspond ing" dataset/s used? By now
the name of the dataset is just Article.
What is a good name for the webreference?

The rest of the project in the solution are named like for example:
CORES.Win.Artic le. Where CORES is the name of the overall system. Win
tells us that it is a class handling windows, ie. userinterface-class.

Hope someone can help me out.

Best Regards
/ Steve

Nov 21 '05 #2
Acutally, you are right. In fact we had a long debate about it initially.
Since our webservice is a gateway to so many other services, we finally
settled with having reference name as the same gateway service name.
HTH

"Prozon" wrote:
Thanks a lot!
I see one litle problem with your approach. That is
when naming the reference and the service with the same name you got
this a bit odd code when creating an object of the service.

Dim myService as ArticleServices .ArticleService s

also the same "name" twice. Was this what yoy mean?

/ Steve

"Rama.NET" <Ra*****@discus sions.microsoft .com> wrote in message news:<63******* *************** ************@mi crosoft.com>...
Hi Prozon,
Since you named your dataset as 'Article', you could name your webservices
as 'ArticleService s'. You could name your corresponding dataset as
'ServicedArticl e'. Normally I prefer the references to be named in sync with
webservices name (that is just my team's practice), so you could give the
reference name as ArticleServices .
HTH

"Prozon" wrote:
Hi!
I have problem naming my webservices. One of the problem is that I got
naming conventions between my webservices and dataset that the
services uses.

Can someone please give me a good example of how to name a
webservice-class which handles articles for example?
And what is a good name for the "correspond ing" dataset/s used? By now
the name of the dataset is just Article.
What is a good name for the webreference?

The rest of the project in the solution are named like for example:
CORES.Win.Artic le. Where CORES is the name of the overall system. Win
tells us that it is a class handling windows, ie. userinterface-class.

Hope someone can help me out.

Best Regards
/ Steve

Nov 21 '05 #3
Ok,
thanks again. i think we will go with this.

"Rama.NET" <Ra*****@discus sions.microsoft .com> wrote in message news:<96******* *************** ************@mi crosoft.com>...
Acutally, you are right. In fact we had a long debate about it initially.
Since our webservice is a gateway to so many other services, we finally
settled with having reference name as the same gateway service name.
HTH

"Prozon" wrote:
Thanks a lot!
I see one litle problem with your approach. That is
when naming the reference and the service with the same name you got
this a bit odd code when creating an object of the service.

Dim myService as ArticleServices .ArticleService s

also the same "name" twice. Was this what yoy mean?

/ Steve

"Rama.NET" <Ra*****@discus sions.microsoft .com> wrote in message news:<63******* *************** ************@mi crosoft.com>...
Hi Prozon,
Since you named your dataset as 'Article', you could name your webservices
as 'ArticleService s'. You could name your corresponding dataset as
'ServicedArticl e'. Normally I prefer the references to be named in sync with
webservices name (that is just my team's practice), so you could give the
reference name as ArticleServices .
HTH

"Prozon" wrote:

> Hi!
> I have problem naming my webservices. One of the problem is that I got
> naming conventions between my webservices and dataset that the
> services uses.
>
> Can someone please give me a good example of how to name a
> webservice-class which handles articles for example?
> And what is a good name for the "correspond ing" dataset/s used? By now
> the name of the dataset is just Article.
> What is a good name for the webreference?
>
> The rest of the project in the solution are named like for example:
> CORES.Win.Artic le. Where CORES is the name of the overall system. Win
> tells us that it is a class handling windows, ie. userinterface-class.
>
> Hope someone can help me out.
>
> Best Regards
> / Steve
>

Nov 21 '05 #4

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

Similar topics

0
1727
by: Erik P. Vinther | last post by:
Hi This might be slightly OT, but I couldn't find a better NG for this question The question is regarding versioning of webservices. A webservice end point URL basically consists of a base company URL and a webservice name, e.g… webservices.MyCompany.com/MyService we want to be able to host several versions of a particular webservice at the same time, so we want the version id to be part of the end point URL. This is consistent...
5
5358
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of the DLL. If I do a 'Batch Build' and select both Debug and Relase versions for building it will build the debug version but throws up errors for the Release version. For example, the output I get for a Batch Build is this - ...
4
6027
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap extension. The code like this: public string HelloWorld() { return "Hello World.";
16
4927
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be easily verified: Implement the following in a web service method (just raises a SOAPException with a...
1
2164
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include it in my smartphone application, it will work the first time and return ther query set, however when i try it again i get the following error : "Server found request content type to be 'text/html; charset=Windows-1252', but expected 'text/xml'."
3
5305
by: Mike | last post by:
I have created a web service for a client to consume. The element I am having trouble with is, as described in their WSDL: <xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" /> <xsd:element name="LocalData"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Y" /> <xsd:enumeration value="N" />
5
2707
by: Dany C. | last post by:
We have install a valid SSL certificate issued to www.mycompany.com on our web server running IIS 6.0 / win2003 SP1. Then we have created a sub domain pointing to the same server for our web services at ws.mycompany.com. We have properly installed the server certificate on the client machine. When the client try to connect to our secure webservice at https:\\ws.mycompany.com we have the foolwing error: System.Net.WebException: The...
1
2992
by: Felix | last post by:
Hi everyone. I had a web site developed in asp.net 1.1 wich is already in production. I'm trying to migrate the project to framework 2.0 Initialli I had the following error during the compilation: "Error 72 The type 'nTime.Xnoopy.Server.WebServices.Global' is ambiguous: it could come from assembly 'C:\Visual Studio .Net Projects\XnoopyServer\nTime.Xnoopy.Server.WebServices\bin\nTime.Xnoopy.Server.WebServices.DLL' or from assembly...
0
1452
by: Wijnand Kroes | last post by:
Hi guys, I have a C#.NET client which sends SOAP requests to .Net webservices and non ..Net webservices. If I do not add a SOAP header a get a valid response from all webservices. If I do add a SOAP header a get a valid response from the .Net webservice but an error from the client when accessing a non .Net webservice. The non .Net webservices are created in VB6 and Java.
0
9386
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
9998
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8822
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
7366
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
6642
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
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.