Call .NET APIs from Genero in a SOA environment / Calling .NET from Genero |
Rename the generated class called Service1 with an appropriate name such as BarCode, and the file Service1.asmx to BarCodeService.asmx, for instance. The .asmx file is the file that is accessible from the IIS web server once the application is deployed. The .asmx file also contains a reference to the default generated class, Service1, which must also be renamed to the new name (BarCode in our tutorial), in case Visual Studio didn't make the change automatically.
The class view after renaming the class:
Figure 1. Class View; BarCode selected
The file view after renaming the asmx file:
Figure 2. File View; BarCodeService selected