Re: many .asmx files with few webmethod Vs. few .asmx files but with a lot of webmethod what is better

From: Jan Tielens (jan_at_no.spam.please.leadit.be)
Date: 03/02/04


Date: Tue, 2 Mar 2004 07:40:04 +0100

In fact it doesn't really matter. The resulting WSDL will only be read at
design time when you add a web reference to your project. Additionally be
aware that if you split the methods into different web services, you can't
use a type from WS1 in WS2 for example. To solve this you have to create a
shared interface for the type you want to use in more than 1 web service.

In general I would recommend, if there are no dependencies to split methods
based on their functional area. But in most cases I'll put all the methods
in one web service.

-- 
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan
"alf" <em_alf@hotmail.com> schreef in bericht
news:eMUhMbk$DHA.2516@TK2MSFTNGP11.phx.gbl...
>
>


Relevant Pages

  • Re: Web service client question
    ... Johanna - Do you know the URL of the Web Service at Design time? ... Use the "Add Web Reference" tool in VS.NET and save off the ... you can create a HTTPRequest Object (using the QueryString to pass the ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: public function from class in other namespace inaccessible
    ... First off, if you want to use a class to pass data to a web service, you ... A web reference is not the same as a referenced assembly. ... > I added a new class test to the namespace of the webservice which I try to ... > public int TheInt ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Consuming Web Service without Web Reference
    ... Eventhough I extracted schema from WSDL iam not able to call the web service. ... calling a web service than creating an xml and pushing it to the SOAP adapter. ... still have to generate a proxy and configure it in your send port. ... Initially I tried adding the Web reference using the WSDL file. ...
    (microsoft.public.biztalk.general)
  • RE: Dynamic URL Behavior & Configuration
    ... I have a 3rd party web service running in a Web Server within our network. ... Dynamic URL Behavior & Configuration ... references a class library which in turn has a web reference. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: web service
    ... Can you send a screenshot of the "Add Web Reference" dialog box after you ... I have just tried that web service you specified, and got the WSDL displayed ... ok and was able to generate a proxy class in C# just fine. ...
    (microsoft.public.cert.exam.mcad)