Developers create and expose an ASP+ Web Service by authoring and saving text files with the file extension “ASMX” within the virtual path of an ASP+ Web Application. Clients then invoke and consume an ASP+ Web Service by issuing HTTP requests for these URL resources.
ASMX text files reference NGWS runtime classes that encapsulate the functionality of a given web service. These NGWS runtime classes can either live in external, pre-compiled assemblies that the ASMX file references, or can alternatively be defined in-line within the ASMX file itself and will be dynamically compiled and cached on the server on first access.
For example, the directory hierarchy below demonstrates a sample web application that exposes 4 webservices – ZipCodes.asmx, TelephoneNumbers.asmx, OrderSystem.asmx and OrderStatus.asmx.
C:\inetpub\wwwroot\MyApp \Bin \MyUtility.dll \Global.asax \Orders \OrderSystem.asmx \OrderStatus.asmx \TelephoneNumbers.asmx \ZipCodes.asmx