Performing the generation for an ASP.NET Web Service

Once the InitializeBundleView.vbs script has been successfully run, you can modify the GeneratorConfig.xml file to provide custom parameters to suit your requirements. The generation reads the local copy of the GeneratorConfig.xml in the Views folder and use those settings.

Follow the general instructions in Generating a Dotnet Web Service and ensure that you enter the correct Web Service generation relative path and Java Class name in the edit box provided.

Using ASP.NET Web Services generator the entry is:

ASP.NET Web Services

Perform either of the following to set the User Defined View Generator property field in the Component Enabler User Interface section of the bundle folder Property Pages window:

  • Enter ASP.NET Web Services or

  • Select ASP.NET Web Services from the drop-down list.

The generation process creates the following files in the Views folder:

  • Ispec_Name.cs – a C# "Ispec file", one for each Ispec in the bundle.

  • IspecList.xml – a list of all the Ispecs in the generated bundle.

  • [ApplicationName]_[BundleName]_WS.csproj – a VS project file of the generated files.

  • [BundleName].asmx – the active server method file, points to the .asmx.cs file.

  • [BundleName].asmx.cs – contains the code for each method in the "Ispec file".

  • [ApplicationName]_[BundleName]_WS.csproj.webinfo – a VS web project file.