AifServiceGenerationManager Class [AX 2012]
The AifServiceGenerationManager class generates the .NET Windows Communication Foundation (WCF) configuration files and deploys the generated services to the IIS virtual directory.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::addExclusionMethods | Microsoft internal use only. |
| ::addMissingPortActions | Adds missing actions from the service to the AifPortAction table for the port. |
| ::cleanupSchemaTables | Microsoft internal use only. |
| ::configureIISHost | Configures an IIS WCF host by using the service configuration editor. |
| ::configureWcfHost | Configures a WCF host by using the service configuration editor. |
| ::createExclusionMethodSet | Microsoft internal use only. |
| ::deleteOrphanedPortActions | Microsoft internal use only. |
| ::generateAutoDeployedServiceGroups | Microsoft internal use only. |
| ::generateDerivedTypes | Microsoft internal use only. |
| ::generateHelperCode | Microsoft internal use only. |
| ::generateRoutingServiceFile | Microsoft internal use only. |
| ::generateServiceGroups | Microsoft internal use only. |
| ::generateServices | Generates WCF (Windows Communication Foundation) services for enabled services. |
| ::getDisplayMenuItemName | Microsoft internal use only. |
| ::getEnhancedPortOperations | |
| ::getServiceAssemblyName | Microsoft internal use only. |
| ::getServiceGenerationAppDirectory | Retrieves the service generation folder from the application folder. |
| ::getServiceInfo | |
| ::getServiceInfoFromTreeNode | Microsoft internal use only. |
| ::getServicesInAOT | Microsoft internal use only. |
| ::getServicesInPort | Microsoft internal use only. |
| ::getValidServiceOperations | Gets the list of valid service operations in the service. |
| ::hasFilterCompatibleOperation | Microsoft internal use only. |
| ::initializePort | Microsoft internal use only. |
| ::isCustomizableService | Microsoft internal use only. |
| ::isEnhancedPortOperation | |
| ::isServiceGroupGenerated | Microsoft internal use only. |
| ::main | Microsoft internal use only. |
| ::prepareBasicInboundPortForGeneration | Prepares an incoming basic port for generation. If the port does not exist, it is created and initialized. |
| ::registerAutoDeployedService | Registers the X++ service, operations, and schemas for a service node in the AOT. |
| ::registerOperations | Microsoft internal use only. |
| ::registerSchemas | Microsoft internal use only. |
| ::registerService | Registers the service, operations, and schemas for a service node in the AOT. |
| ::registerServiceInternal | Microsoft internal use only. |
| ::registerServices | Populates the AifService table by scanning the AOT for all service classes and contracts. |
| ::registerServicesOnClient | Microsoft internal use only. |
| ::resetAllServiceStatus | Microsoft internal use only. |
| ::saveSharedTypesSchema | Microsoft internal use only. |
| ::unregisterService | Unregisters a service and associated operations from the AIF tables. |
| ::unregisterServiceOperation | Unregisters a service operation from the AIF tables. |
| ::updateAllServicesToError | Microsoft internal use only. |
| ::updateService | Microsoft internal use only. |
| ::validateAssociationTarget | Microsoft internal use only. |
| ::validateParamType | Microsoft internal use only. |
| ::validateService | Determines whether the service is valid and can have and instance created of it. |
| ::validateServiceOperation | Determines whether the method is a valid service operation. |
| ::validateServiceOperationHelper | Microsoft internal use only. |
This class provides static APIs that can be used to register and generate WCF services. It generates C# code for service contracts, services, and types developed in X++.
It also generates the WCF configuration files and deploy the generated services to IIS virtual directory. The IIS virtual directory settings are provided by using the Websites form under Basic, Application Integration Framework, Websites.
Community Additions
ADD
Show: