webMethods Microsoft Package 9.0 | webMethods Package for Microsoft .NET Documentation | webMethods Package for Microsoft .NET Installation and User’s Documentation | Using Designer with the webMethods Microsoft Package | Configuring .NET Assembly Information
 
Configuring .NET Assembly Information
When you create a service to call a Microsoft .NET method, Integration Server stores information needed by the .NET CLR to load the method into its processing space. If you change the location or name of the .NET assembly in which the method resides, you need to use Designer to modify that information; otherwise, any attempt to call that method from Integration Server will fail.
Information about a particular .NET method resides with the service you have created to call it. In Designer, you can see this information in the .NET Properties tab for the specified service.
Note:
When you create multiple .NET services from an assembly, as described in Importing .NET Methods into Designer , all of those services share information about the assembly. If you change shared information for one .NET service, it is changed for all.
The Shared Properties panel of the .NET Properties tab consists of information that is common to all .NET services created from the same assembly:
Property
Description
Domain Name
The name of the application domain in which the service is to run. Editable.
Assembly Path
The location of the directory that holds the .NET assembly in which the method called by this service resides. Editable. Changing the assembly path of a .NET service applies to all the .NET services in the assembly.
Assembly Name
The name of the .NET assembly in which the method called by this service resides. Editable. Changing the assembly name of a .NET service applies to all the .NET services in the assembly.
Domain Configuration File
The configuration file associated with the domain. The file must be located in the Assembly Path. Enter only the file name. For more information about domain configuration file, see Managing Domain Configuration File
Class Name
The fully qualified name of the class of which the method called by this service is a part. Not editable
Class Lifetime
The lifetime setting assigned to the class that owns the method called by this service. Editable. For information about valid class lifetime settings, see Managing Class Lifetimes.
Class Timeout (mins)
The timeout setting assigned to the class that owns the method called by this service. Valid only for a Session lifetime. Editable. See The Class Timeout Value.
Another property in the .NET Properties tab is unique to the specific .NET service:
Property
Description
Method Name
The name of the method called by this service.
*To change information about a .NET method
1. In the Navigation panel, double-click the service for which you want to change information about its associated .NET method.
2. Click the .NET Properties tab to bring it to the front.
3. Perform one or more of the following actions:
To do this...
Perform the following...
Change the assembly path name
In the Assembly Path field, type the new location of the directory that holds the .NET assembly in which the method resides.
Change the assembly name
In the Assembly Name field, type the new name of the .NET assembly in which the method resides.
Change the domain name
In the Domain Name field, type the new domain name.
Change the domain configuration file
In the Domain Configuration File field, type the name of the new domain configuration file.
4. On the File menu, click Save.
5. Stop and restart the CLR to clear the cache and make sure the correct assembly is loaded.
For more information, see Starting and Stopping the Microsoft .NET CLR.
You will see that these changes are applied to all .NET services that call methods in the same assembly.
6. Go to Integration Server Administrator and reload the WmDotNet package.