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
- Next message: Jan Tielens: "Re: Calling a Web Service from a Web Service on the same machine"
- Previous message: Jan Tielens: "Re: Calling web service from unix"
- Messages sorted by: [ date ] [ thread ]
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... > >
- Next message: Jan Tielens: "Re: Calling a Web Service from a Web Service on the same machine"
- Previous message: Jan Tielens: "Re: Calling web service from unix"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|