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.

class AifServiceGenerationManager

Run On

Server

  MethodDescription
Gg758653.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg758653.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::addExclusionMethods Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::addMissingPortActions Adds missing actions from the service to the AifPortAction table for the port.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::cleanupSchemaTables Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::configureIISHost Configures an IIS WCF host by using the service configuration editor.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::configureWcfHost Configures a WCF host by using the service configuration editor.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::createExclusionMethodSet Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::deleteOrphanedPortActions Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateAutoDeployedServiceGroups Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateDerivedTypes Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateHelperCode Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateRoutingServiceFile Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateServiceGroups Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::generateServices Generates WCF (Windows Communication Foundation) services for enabled services.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getDisplayMenuItemName Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getEnhancedPortOperations
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServiceAssemblyName Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServiceGenerationAppDirectory Retrieves the service generation folder from the application folder.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServiceInfo
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServiceInfoFromTreeNode Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServicesInAOT Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getServicesInPort Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::getValidServiceOperations Gets the list of valid service operations in the service.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::hasFilterCompatibleOperation Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::initializePort Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::isCustomizableService Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::isEnhancedPortOperation
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::isServiceGroupGenerated Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::main Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::prepareBasicInboundPortForGeneration Prepares an incoming basic port for generation. If the port does not exist, it is created and initialized.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerAutoDeployedService Registers the X++ service, operations, and schemas for a service node in the AOT.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerOperations Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerSchemas Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerService Registers the service, operations, and schemas for a service node in the AOT.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerServiceInternal Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerServices Populates the AifService table by scanning the AOT for all service classes and contracts.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::registerServicesOnClient Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::resetAllServiceStatus Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::saveSharedTypesSchema Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::unregisterService Unregisters a service and associated operations from the AIF tables.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::unregisterServiceOperation Unregisters a service operation from the AIF tables.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::updateAllServicesToError Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::updateService Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::validateAssociationTarget Microsoft internal use only.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::validateParamType Microsoft internal use only.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::validateService Determines whether the service is valid and can have and instance created of it.
Gg758653.pubmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::validateServiceOperation Determines whether the method is a valid service operation.
Gg758653.privmethod(en-us,AX.60).gif Gg758653.static(en-us,AX.60).gif ::validateServiceOperationHelper Microsoft internal use only.
Top

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.

Object Class
  AifServiceGenerationManager Class

Community Additions

ADD
Show: