Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Services defined in COM+
Message
De
12/06/2002 19:06:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Web Services defined in COM+
Divers
Thread ID:
00667711
Message ID:
00667711
Vues:
54
Yesterday, it was brought an interesting information to me, based on Randy Brown's class to be used as a project hook in order to compile our Web Service as COM+ which would fit inside MTS.

That class requires the project definition to be multi-threaded. So, we applied the change in our project definition to be multi-threaded. The Web Service is now created under MTS and updated automatically at build time - thanks to Randy's class for that. However, we discovered that using the Web Service as multi-threaded has some impact, as when we use such an approach, if the Web Service uses the default ASP listener file, we loose our context. So, in order to bypass that, we have to use a custom ASP listener file which will create a context prior to calling the Web Service.

So, this means, in order to remain as standard as possible, which means to only compile our DLL and use the default ASP listener file generated by the WSDL generator, we have to define our Web Service to be single-threaded. As the Web Service is now again single-threaded, we have to use the old method which is IISRESET /RESTART. This method is longer and shuts down the IIS services while it is being done.

Another approach would be to define the Web Service is a specific virtual directory, define it as Isolated and use the Unload option from MMC everytime we have to compile. By that, we only shut down the components from that directory.

Comments?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform