webMethods Microsoft Package 9.0 | webMethods Package for Microsoft .NET Documentation | webMethods Package for Microsoft .NET Client API Programmer’s Documentation | Invoking a Service using Java Client API from Designer | Generating a C# Client Code from Designer
 
Generating a C# Client Code from Designer
 
List Packages to be Used (IData)
Class Declaration (IData)
Connect to Integration Server (IData)
Populate the Service Inputs (IData)
Invoke the Service and Retrieve the Output (IData)
Disconnect from Integration Server (IData)
Using Designer, you can generate C# client code for invoking the integration service. This sample uses the addInts service.
Important:
Visual Basic is not supported in Integration Server 9.0 and higher.
*To create a C# file from the addInts service
1. In Designer, select the addInts service and right-click.
2. Select Generate Code... from the menu.
3. In the Code Generation wizard, select the option For calling this service from a client and click Next.
4. Select C# for .NET from the programming languages, and specify the folder to save the C# file.
The following sections provide brief descriptions of the sample code as they relate to Generating Microsoft .NET Clients:
* List Packages to be Used (IData)
* Class Declaration (IData)
* Connect to Integration Server (IData)
* Populate the Service Inputs (IData)
* Invoke the Service and Retrieve the Output (IData)
* Disconnect from Integration Server (IData)
You can find the complete code sample in Complete IData Code Sample.