Adding Integration Server and Generating Code
To create a C# or Visual Basic file from a
webMethods service
1. Open Visual Studio.
2. Open an existing .NET project or create a new one.
3. On the Tools menu, click Invoke webMethods Extension.
If this menu item is not visible, make sure you have installed the add-in.
4. In the webMethods Extension template, click to add Integration Server. Provide the following information about the instance of Integration Server to which you want to connect: In this field... | Type this... |
Server Name | The name and port number of Integration Server in the format:ServerName:PortNum |
Username | The name of a valid user account on Integration Server. |
Password | The password for the user account to connect to an Integration Server. Passwords are case-sensitive. |
5. Click Add
6. Click to connect. The webMethods Extension window appears. This window contains a tree view of packages and services on the Integration Server to which you are connected.
Note:
The Add-In opens as a floating window. You can dock the window by dragging it to the Visual Studio toolbar.
7. Right-click any service and click Project Setting. 8. Select a project from the Select Project drop-down box . Click Save.
9. Right-click the service and click Generate C# Code or Generate VB.NET Code.
File name is derived from the service that generates it, with a file extension depending on the type of code that was generated.